I hate to reply to my own emails, but I forgot to mention that fishd seemed to have saved it, though:
ro...@iron ~> grep " PATH:" ~/.config/fish/fishd.iron SET_EXPORT PATH:/opt/subversion/bin\x1e/opt/postgresql/bin\x1e/bin\x1e/usr/bin\x1e/usr/sbin\x1e/sbin\x1e/usr/local/Cellar/fish/1.23.1/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/Users/ronny/bin I think it's either fish somehow is not honouring that, or something else is overwriting it. Cheers, Ronny On Wed, May 5, 2010 at 12:41 PM, Ronny Haryanto <[email protected]> wrote: > Hi guys, > > I couldn't get PATH to set properly. I'm running Mac OS X 10.6.3. > > ro...@iron ~> fish --version > fish, version 1.23.1 > ro...@iron ~> echo $PATH > /usr/bin /bin /usr/sbin /sbin /usr/local/Cellar/fish/1.23.1/bin > /usr/X11R6/bin /usr/local/bin > ro...@iron ~> set -Ux PATH /opt/subversion/bin /opt/postgresql/bin > /bin /usr/bin /usr/sbin /sbin /usr/local/sbin /usr/local/bin > /Users/ronny/bin > ro...@iron ~> echo $PATH > /usr/bin /bin /usr/sbin /sbin /usr/local/Cellar/fish/1.23.1/bin > /usr/X11R6/bin /usr/local/bin > > The shell above is a login shell, ran from iTerm. I tried it with a > non-login shell (by running 'fish'), still no luck. > > I was able, however, to set it globally instead of universally: > > ro...@iron ~> set -gx PATH /opt/subversion/bin /opt/postgresql/bin > /bin /usr/bin /usr/sbin /sbin /usr/local/Cellar/fish/1.23.1/bin > /usr/local/sbin /usr/local/bin /Users/ronny/bin > ro...@iron ~> echo $PATH > /opt/subversion/bin /opt/postgresql/bin /bin /usr/bin /usr/sbin /sbin > /usr/local/Cellar/fish/1.23.1/bin /usr/local/sbin /usr/local/bin > /Users/ronny/bin > > But, of course, it wouldn't be saved across fish sessions. The next > time I open iTerm or a new tab, the PATH setting's back to the > original one. > > What am I missing here? > > Thanks in advance for any pointers. > > Ronny > ------------------------------------------------------------------------------ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
