[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 81b916effc39ff1bf4647dbc6f9dad3d946d0d72

Ville Skyttä ville.skytta at iki.fi
Sun Oct 24 19:08:46 UTC 2010


The following commit has been merged in the master branch:
commit 81b916effc39ff1bf4647dbc6f9dad3d946d0d72
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Oct 24 22:04:12 2010 +0300

    Sort _command and _root_command targets.

diff --git a/bash_completion b/bash_completion
index 13f73d5..0de5872 100644
--- a/bash_completion
+++ b/bash_completion
@@ -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()
 {

-- 
bash-completion



More information about the Bash-completion-commits mailing list