Signed-off-by: Alexey Zaytsev <alexey.zayt...@gmail.com>
---

Attaching to a currently detached screen sesstion looks
like the natural thing to me.

 completions/screen |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

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-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to