Re: [Fish-users] sudo and fish functions
Status: Beta
Brought to you by:
liljencrantz
|
From: Tassilo H. <ta...@me...> - 2007-05-21 12:24:28
|
Martin Bähr
<mb...@em...>
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 program is. But unfortunately
>> it seems to be unable to find and execute root's fish functions.
>
> could it be that sudo does not execute fish to find the command?
I've thought that, too, but this also fails:
heimdall@baldur ~/u/r/st-ss07> sudo fish -c do-update
Password:
fish: Unknown command “do-update”
Standard input: do-update
^
Bye,
Tassilo
--
On his birthday, Chuck Norris randomly selects one lucky child to be
thrown into the sun.
|