Skip to content

Improve support for other shells like Fish#7

Merged
int3h merged 1 commit intoint3h:masterfrom
franciscolourenco:shells
Oct 15, 2014
Merged

Improve support for other shells like Fish#7
int3h merged 1 commit intoint3h:masterfrom
franciscolourenco:shells

Conversation

@franciscolourenco
Copy link
Copy Markdown
Contributor

Fish Shell's $PATH variable contains directories separated by spaces
instead of using colons. Example:

bash -> /usr/local/bin:/usr/local/sbin:/usr/bin
fish -> /usr/local/bin /usr/local/sbin /usr/bin

To get around this inconsistency and others in different shells,
the $PATH is now extracted from the output of the 'env' utility,
which has the same consistent format independently of the
user's configured login shell.

fixes #6

Fish Shell's $PATH variable contains directories separated by spaces
instead of using colons. Example:

bash -> /usr/local/bin:/usr/local/sbin:/usr/bin
fish -> /usr/local/bin /usr/local/sbin /usr/bin

To get around this inconsistency and others in different shells,
the $PATH is now extracted from the output of the 'env' utility,
which has the same consistent format independently of the
user's configured login shell.

fixes int3h#6
int3h added a commit that referenced this pull request Oct 15, 2014
Improve support for other shells like Fish
@int3h int3h merged commit b7894fc into int3h:master Oct 15, 2014
@rwols rwols mentioned this pull request Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't work with Fish shell

2 participants