Sorry to answer my own question: 

I just did: 

[EMAIL PROTECTED] ~> whereis agi 
agi: /usr/bin/agi
[EMAIL PROTECTED] ~> whereis agr
agr:

Aparently I created an agi script under "/usr/bin/". I had forgotten about it. 
Anyway, that is why Fish finds it. There is no "/usr/bin/agr" script under 
"/usr/bin/", so Fish does not find it. 

Apparently Bash and Sudo understand each other better, and so Bash looks for 
scripts under "/home/me/bin/" as well, and it finds "/usr/bin/agr" there. 

So when I combine Fish and Sudo, the alias2 scripts have to be located 
somewhere on root's "$PATH", which in my case has so far excluded 
"/home/me/bin". 

Guido van Steen 



      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to