Sort _command and _root_command targets.

This commit is contained in:
Ville Skyttä 2010-10-24 22:04:12 +03:00
parent edd22493fe
commit 81b916effc

View File

@ -1477,15 +1477,15 @@ _command_offset()
[ ${#COMPREPLY[@]} -eq 0 ] && _filedir
}
complete -F _command -o filenames nohup exec nice eval time ltrace then \
else do vsound command xargs tsocks aoss padsp
complete -F _command -o filenames aoss command do else eval exec ltrace nice \
nohup padsp then time tsocks vsound xargs
_root_command()
{
local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
_command $1 $2 $3
}
complete -F _root_command -o filenames sudo fakeroot really gksudo gksu kdesudo
complete -F _root_command -o filenames fakeroot gksu gksudo kdesudo really sudo
_longopt()
{