On 4/6/07, Ritesh Kumar <[EMAIL PROTECTED]> wrote:
Hi,
I have been using fish for some time now and I must say its an
excellent shell esp. for interactive purposes. However, I am facing a little
problem using fish on my gentoo box. Has anybody been able to import the
global environment variables in the gentoo present in /etc/profile.env or
/etc/csh.env? It seems that gentoo uses the colon syntax for both
profile.env and csh.env making it impossible to source them directly in
fish's startup files.
I guess building a function to emulate the 'export' command will do the
trick. The fish distribution doesn't seem to contain one. It does include a
setenv for csh but its doesn't work for the colon syntax. How do you guys
work around this?
Oops... it seems to be working now. Even with the colon separated syntax
fish is able to resolve the paths correctly. Of course running set still
shows the colons but it seems fish is doing the right thing with such
variables. The problem I had was a rather stupid error in my config.fish :(.
Thanks anyways,
Ritesh
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users