about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_screen2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cfc116143..b57683841 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-11  Clint Adams  <clint@zsh.org>
+
+	* 21135: Completion/Unix/Command/_screen: complete attached
+	sessions after screen -x.
+
 2005-04-12  Peter Stephenson  <pws@csr.com>
 
 	* 21134: Test/A04redirect.ztst: error for bad file descriptor
diff --git a/Completion/Unix/Command/_screen b/Completion/Unix/Command/_screen
index a49709013..c2ecd0382 100644
--- a/Completion/Unix/Command/_screen
+++ b/Completion/Unix/Command/_screen
@@ -83,7 +83,7 @@ _arguments -C \
   '-U[tell screen to use UTF-8 encoding]' \
   '(-)-v[print screen version]' \
   '(-)-wipe[do nothing, clean up SockDir]' \
-  '-x[attach to a not detached screen (multi display mode)]' \
+  '-x[attach to a not detached screen (multi display mode)]: :->attached-sessions' \
   '-X[execute command as a screen command in the specified session]:screencmd:(${scr_cmds[@]})' \
   '*::arguments: _normal'