Hey Fish Users,
My $PATH has the following: /usr/bin /bin /usr/sbin /sbin /usr/local/bin
I've recently upgraded my git, and homebrew links it into /usr/local/bin,
but the system git, which is installed in /usr/bin is still activated when
I execute a git command. Homebrew has been warning me about this for ages
but it hasn't ever really bit me until now.
>From searching around the fish-shell issues on github, I gather that this
part of the path is generated from /etc/path somewhere along the startup
sequence. Config files or fish env functions then either add to the
beginning or end of the path depending on what it needs.
I opened up /etc/path and rearranged the items in there, exited all
instances of fish, and reopened a terminal to find that nothing had
changed. My path still places /usr/local/bin at the end of the path,
rather than the beginning.
Whats the trick?
Thanks
Robert
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users