Dear Fish users,
Meanwhile I have been Fishing happily. I polished my (un)alias2 scripts a bit
and things seemed to work all right.
However, I just finished the following session:
[EMAIL PROTECTED] ~> which agi
/home/me/bin/agi
[EMAIL PROTECTED] ~> which agr
/home/me/bin/agr
[EMAIL PROTECTED] ~> cat /home/me/bin/agi
#!/bin/bash
#This file was created by alias2. Do not edit it. It may be overwritten
automatically.
apt-get install "$@"
[EMAIL PROTECTED] ~> cat /home/me/bin/agr
#!/bin/bash
#This file was created by alias2. Do not edit it. It may be overwritten
automatically.
apt-get remove "$@"
[EMAIL PROTECTED] ~> ll ./bin/ag*
-rwx------ 1 me me 124 2008-08-15 03:39 ./bin/agi*
-rwx------ 1 me me 123 2008-08-16 01:15 ./bin/agr*
[EMAIL PROTECTED] ~> sudo agi fish
Reading package lists... Done
Building dependency tree
Reading state information... Done
fish is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[EMAIL PROTECTED] ~> sudo agr fish
sudo: agr: command not found
That final result really surprised me!
When I tried the last 2 commands under Bash, I got the expected (and desired)
results:
[EMAIL PROTECTED]:~$ sudo agi fish
Reading package lists... Done
Building dependency tree
Reading state information... Done
fish is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[EMAIL PROTECTED]:~$ sudo agr fish
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
fish
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 3498kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
So, the combination of Fish and Sudo still puzzles me. Can other Fish users
reproduce this behavior, or is it something that I alone experience?
Thanks in advance!
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