Thanks, updated the wiki with your solution. I had a much more involved scheme somewhere, allowing switching both ways. Will try to find and post it too next week when I get home.
Which reminds me of a question: should $SHELL be set to /usr/bin/fish or not? I'm not clear on what it affects, and whether it's safe to use a bourne-incompatible $SHELL. Can anyone shed light on this? On Tue, Aug 17, 2010 at 14:20, David Schein <[email protected]>wrote: > The wiki has a note on the BashToFish page[1] saying: > TODO: doing this uncoditionally will prevent > you from occasionally switching to bash from > by fish simply by typing "bash". > > I use this snippet as the last line in my .bashrc and > it works well: > > [ -z "$fish_on" ] && export fish_on=1 && exec fish "$@" > > I cannot edit the wiki so I thought I would post it here. > > Peace, > David > > [1] http://fishshell.org/wiki/moin.cgi/BashToFish > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Fish-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Beni Cherniavsky-Paskin <[email protected]>
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
