[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 536a780c2ec7359988e28df79cf24e2b4badab49

Ville Skyttä ville.skytta at iki.fi
Tue Dec 8 23:08:43 UTC 2009


The following commit has been merged in the master branch:
commit 21d0f70cb03bd94660ea2f2585009fc81ca58d88
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Dec 9 01:01:49 2009 +0200

    Use _shells in screen -s.

diff --git a/contrib/screen b/contrib/screen
index 53a0fde..2118e2f 100644
--- a/contrib/screen
+++ b/contrib/screen
@@ -43,8 +43,8 @@ _screen()
             return 0
             ;;
         -s)
-            # shells
-            COMPREPLY=( $( grep ^${cur:-[^#]} /etc/shells ) )
+            _shells
+            return 0
             ;;
         -c)
             _filedir

-- 
bash-completion



More information about the Bash-completion-commits mailing list