The following commit has been merged in the master branch:
commit 91528b527145bec711b4b3ea8c65335a6ed617b0
Author: Ville Skyttä <[email protected]>
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

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to