about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tmux
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-07-26 14:55:03 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-07-28 15:49:14 +0000
commitf183ed66c85f26670c5e148e952a6cb3f9a73cfd (patch)
tree53deb8299e733cb678df328de4f263b681d12bcb /Completion/Unix/Command/_tmux
parenta6f2755448158234183ef28ed9667c27a25098d7 (diff)
downloadzsh-f183ed66c85f26670c5e148e952a6cb3f9a73cfd.tar.gz
zsh-f183ed66c85f26670c5e148e952a6cb3f9a73cfd.tar.xz
zsh-f183ed66c85f26670c5e148e952a6cb3f9a73cfd.zip
41467: Correct completion of 'tmux new <TAB>'.
Reference: window_pane_spawn() in tmux 2.5.

Also, document _cmdstring and _precommand.
Diffstat (limited to 'Completion/Unix/Command/_tmux')
-rw-r--r--Completion/Unix/Command/_tmux2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 0917da604..5f5bea922 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -526,7 +526,7 @@ _tmux-new-session() {
     '-t+[specify target session]:session:__tmux-sessions' \
     '-x[specify width]:width' \
     '-y[specify height]:height' \
-    '*:: :_cmdstring'
+    '*:: :_cmdambivalent'
 }
 
 _tmux-new-window() {