Hi all,
This was really bothering me for some time, and I saw a couple of people
were affected on the mailing list as well. Hopefully this will help someone
out.
The issue is in certain situations, say when you open a new instance of the
fish shell either through another tab in the gnome-terminal or through
right-clicking on a folder and using the "Open in Terminal" action in
Nautilus, the fish shell appears to start in your ~ home directory. This is
just a problem of appearances, however and any commands like "ls" or "cd"
use the proper initial working directory to start. Only $PWD has been
incorrectly set to your home directory.
Because I wouldn't really know where to find this bug in the source and to
patch it, here's my very simplistic work around:
Simply add "cd ." to your config.fish startup file and $PWD will be properly
assigned.
There, you won't be confused that "Open in Terminal" or opening in a new tab
is not working and you have a proper prompt and $PWD variable. Let me know
if this breaks something else or there is a better solution.
Cheers,
J
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users