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

Reply via email to