about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-22 16:31:13 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-22 16:31:13 +0000
commit91564ce04c65576540a76612f6b292c9d574049f (patch)
tree3a9a5351a56c404776b5316c4374c29bb09297b9
parent27a317b1687e8ae0983833de0755325b1026bc6d (diff)
downloadzsh-91564ce04c65576540a76612f6b292c9d574049f.tar.gz
zsh-91564ce04c65576540a76612f6b292c9d574049f.tar.xz
zsh-91564ce04c65576540a76612f6b292c9d574049f.zip
not quite posted: screen: complete sessions after -S
-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]' \