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

Ville Skyttä ville.skytta at iki.fi
Fri Nov 5 19:10:12 UTC 2010


The following commit has been merged in the master branch:
commit d68b471905765084b9dcad59604be510edc68ec3
Author: Alexey Zaytsev <alexey.zaytsev at gmail.com>
Date:   Fri Nov 5 01:19:14 2010 +0000

    List both attached and detached sesstions for screen -x
    
    Signed-off-by: Alexey Zaytsev <alexey.zaytsev at gmail.com>

diff --git a/completions/screen b/completions/screen
index cabc4b7..1dc7a59 100644
--- a/completions/screen
+++ b/completions/screen
@@ -36,11 +36,16 @@ _screen()
             _screen_sessions 'Detached'
             return 0
             ;;
-        -[dDx])
+        -[dD])
             # list attached
             _screen_sessions 'Attached'
             return 0
             ;;
+        -x)
+            # list both
+            _screen_sessions
+            return 0
+            ;;
         -s)
             _shells
             return 0

-- 
bash-completion



More information about the Bash-completion-commits mailing list