about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_screen2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a8d7d786..19c2674c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-22  Peter Stephenson  <pws@csr.com>
+
+	* not quite posted: Completion/Unix/Command/_screen: better to
+	allow sessions to be completed after -S.
+
 2010-10-21  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Silas Silva (with minor improvement): users/15464:
@@ -13773,5 +13778,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5111 $
+* $Revision: 1.5112 $
 *****************************************************
diff --git a/Completion/Unix/Command/_screen b/Completion/Unix/Command/_screen
index 67c453a03..4d3b08934 100644
--- a/Completion/Unix/Command/_screen
+++ b/Completion/Unix/Command/_screen
@@ -81,7 +81,7 @@ _arguments -C \
   '-DR: :->any-sessions' \
   '-dR: :->any-sessions' \
   '-s[shell to execute rather than $SHELL]:shell name: _command_names -e' \
-  '-S[name this session <pid>.sockname instead of <pid>.<tty>.<host>]:session name' \
+  '-S[name this session <pid>.sockname instead of <pid>.<tty>.<host>]:session name:->any-sessions' \
   "-t[set title (window's name)]:title" \
   '-T[use term as $TERM for windows, rather than "screen"]:terminal type:_terminals' \
   '-U[tell screen to use UTF-8 encoding]' \