about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-02-09 17:17:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-02-09 17:17:07 +0000
commita13752e2cb20906cae5ced873639b25164f7c85f (patch)
tree5aec8ced77176f6434070eecffe856c5dbf997bb
parent860d3fa3615a6fe3c4e6b6934a89bd94fc4992e4 (diff)
downloadzsh-a13752e2cb20906cae5ced873639b25164f7c85f.tar.gz
zsh-a13752e2cb20906cae5ced873639b25164f7c85f.tar.xz
zsh-a13752e2cb20906cae5ced873639b25164f7c85f.zip
Frank: 27696: another tmux completion update
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_tmux3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a8e14829a..fff4bc468 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-02-09  Peter Stephenson  <pws@csr.com>
 
+	* Frank: 27696: Completion/Unix/Command/_tmux: another update
+
 	* Geoff: 27693: Src/exec.c, Src/init.c, Src/params.c, Src/init.c,
 	Src/utils.c: rename underscore to avoid name clash.
 
@@ -12712,5 +12714,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4889 $
+* $Revision: 1.4890 $
 *****************************************************
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index eae7b18b2..30e395e62 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -155,6 +155,7 @@ function _tmux-attach-session() {
 
     args=(
         '-d[Detach other clients attached to target session]'
+        '-r[Put the client into read-only mode]'
         '-t[Choose a target session]:target session:__tmux-sessions'
     )
     _arguments ${args}
@@ -1256,6 +1257,7 @@ function __tmux-option-guard() {
     else
         options=(
             'aggressive-resize:DESC:on off'
+            'alternate-screen:DESC:on off'
             'automatic-rename:DESC:on off'
             'clock-mode-colour:__tmux-colours'
             'clock-mode-style:DESC:12 24'
@@ -1436,6 +1438,7 @@ function __tmux-window-options() {
     local -a tmux_window_options
     tmux_window_options=(
         'aggressive-resize:Aggressively resize windows'
+        'alternate-screen:Allow alternate screen feature to be used'
         'automatic-rename:Attempt to automatically rename windows'
         'clock-mode-colour:Set clock colour'
         'clock-mode-style:Set clock hour format (12/24)'