[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-150-g91528b5

Ville Skyttä ville.skytta at iki.fi
Sat Feb 18 08:15:13 UTC 2012


The following commit has been merged in the master branch:
commit 91528b527145bec711b4b3ea8c65335a6ed617b0
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Feb 18 10:14:29 2012 +0200

    su: Complete -s/--shell with shells instead of all files.

diff --git a/completions/su b/completions/su
index 87a27b9..fccca47 100644
--- a/completions/su
+++ b/completions/su
@@ -12,7 +12,7 @@ _su() # linux-specific completion
 
     case "$prev" in
         -s|--shell)
-            _filedir
+            _shells
             return
             ;;
         -c|--command|--session-command)

-- 
bash-completion



More information about the Bash-completion-commits mailing list