Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Tassilo Horn
James Vega <[EMAIL PROTECTED]> writes: Hi James! >> As I don't see any reasons why I could want to execute commands as >> root but with my own HOME, I'll create an alias for it. > > You can also add the "always_set_home" option to /etc/sudoers. Hey, even nicer. Thanks a lot. Bye, Tassilo -- F

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread James Vega
On Mon, May 21, 2007 at 05:49:38PM +0200, Tassilo Horn wrote: > Hey, cool! > > sudo -H fish -c do-update > > works as expected. As I don't see any reasons why I could want to > execute commands as root but with my own HOME, I'll create an alias for > it. You can also add the "always_set_home"

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Tassilo Horn
Martin Baehr <[EMAIL PROTECTED]> writes: Hi Martin, >> I don't know how to best resolve this. Perhaps it is a sudo bug? >> Suggestions are welcome. > > see the section on -H in the sudo manpage. Hey, cool! sudo -H fish -c do-update works as expected. As I don't see any reasons why I could w

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Martin Baehr
On Mon, May 21, 2007 at 05:33:15PM +0200, Axel Liljencrantz wrote: > I don't know what the reasoning behind not setting > $HOME in sudo is and if it serves any higher purpose, but there are > various reasons for relying on $HOME to determine the location of ~ > instead of using info from /etc/passw

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Axel Liljencrantz
On 5/21/07, Omari Norman <[EMAIL PROTECTED]> wrote: > On Mon, May 21, 2007 at 05:16:50PM +0200, Axel Liljencrantz wrote: > > > > VI VI VI - The Roman Number Of The Beast > > > > Sorry all vi lovers, but that is the funniest thing I've seen all day. > > All hail the church of emacs. > > One can alwa

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Axel Liljencrantz
On 5/21/07, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Martin Bähr > <[EMAIL PROTECTED]> > writes: > > Hi Martin, > > > On Mon, May 21, 2007 at 08:51:49AM +0200, Tassilo Horn wrote: > >> I've converted some of my little admin scripts to fish functions > >> residing in /root/.config/fish/functions/.

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Omari Norman
On Mon, May 21, 2007 at 05:16:50PM +0200, Axel Liljencrantz wrote: > > VI VI VI - The Roman Number Of The Beast > > Sorry all vi lovers, but that is the funniest thing I've seen all day. > All hail the church of emacs. One can always tell when emacs users are around :) I type this message in vim

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Axel Liljencrantz
> VI VI VI - The Roman Number Of The Beast Sorry all vi lovers, but that is the funniest thing I've seen all day. All hail the church of emacs. -- Axel - This SF.net email is sponsored by DB2 Express Download DB2 Express C

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Tassilo Horn
Martin Bähr <[EMAIL PROTECTED]> writes: Hi Martin, > On Mon, May 21, 2007 at 08:51:49AM +0200, Tassilo Horn wrote: >> I've converted some of my little admin scripts to fish functions >> residing in /root/.config/fish/functions/. Some days ago I discovered >> how convenient the `sudo' [1] utility

Re: [Fish-users] sudo and fish functions

2007-05-21 Thread Martin Bähr
On Mon, May 21, 2007 at 08:51:49AM +0200, Tassilo Horn wrote: > I've converted some of my little admin scripts to fish functions > residing in /root/.config/fish/functions/. Some days ago I discovered > how convenient the `sudo' [1] utility program is. But unfortunately it > seems to be unable to f

[Fish-users] sudo and fish functions

2007-05-20 Thread Tassilo Horn
Hi, I've converted some of my little admin scripts to fish functions residing in /root/.config/fish/functions/. Some days ago I discovered how convenient the `sudo' [1] utility program is. But unfortunately it seems to be unable to find and execute root's fish functions. , | [EMAIL PROTECTED]