[Fish-users] sudo and fish functions
Status: Beta
Brought to you by:
liljencrantz
|
From: Tassilo H. <ta...@me...> - 2007-05-21 06:52:15
|
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. ,---- | heimdall@baldur ~> sudo do-update | Password: | sudo: do-update: command not found | heimdall@baldur ~> sudo ls /root/.config/fish/functions | __fish_describe_command.fish do-update.fish | recompile-kernel-modules.fish update-vc-packages.fish `---- Is it possible to make that work? If yes it would be great if the completions for sudo included root's fish commands, too. Regards, Tassilo __________ [1] http://www.sudo.ws/ -- VI VI VI - The Roman Number Of The Beast |