Closed mrvkino closed 8 years ago
Hi @mrvkino. Thank you for your report. ORIGINAL_PATH
is a Oh My Fish feature which was removed. Could you please try to omf update
and check again if ORIGINAL_PATH
variable persist?
Great! The update fixed it!
Awesome! Closing the issue!
When I use the fenv on my bash configuration script, the fenv.apply does a
set -g -x
on all the variable. But this causes the creation of a new environment variable name ORIGINAL_PATH in fish when setting the PATH variable.This variable causes me some problem when I try to parse the environment variable in python. Here are the two environment variables.
The PATH has ':' separator and not the ORIGINAL_PATH. This causes problem when trying to read the variable, since it is seen as a string with new line instead of a variable with a list of path.
It seem to be caused by the option "-g -x" when setting PATH. As mentioned in the doc on PATH, simply doing a set on PATH will work. And it does not create the ORIGINAL_PATH variable. It could be done with the 'if' that is already present for the PATH variable in fenv.apply..