summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_tmux
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
commit719a715614f2182a76b30ad27a327d70a86f34f1 (patch)
treea437eb29da8035bf7c2e30506c08fe6f15719871 /Completion/Unix/Command/_tmux
parent7da8d19c224860ae4d6aa3f077fca7f734f20d88 (diff)
parentef61918398517473b9b594690a3be375f607cebe (diff)
downloadzsh-719a715614f2182a76b30ad27a327d70a86f34f1.tar.gz
zsh-719a715614f2182a76b30ad27a327d70a86f34f1.zip
Merge tag 'zsh-5.5.1-test-2' into debian
Test release: 5.5.1-test-2.
Diffstat (limited to 'Completion/Unix/Command/_tmux')
-rw-r--r--Completion/Unix/Command/_tmux8
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 730959e84..ae3446a08 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -235,6 +235,7 @@ _tmux-choose-client() {
_tmux-choose-tree() {
[[ -n ${tmux_describe} ]] && print "put a window into tree choice mode" && return
_arguments -s \
+ '-G[include all sessions in any session groups in the tree rather than only the first]' \
'-N[start without the preview]' \
'-F+[specify format for each list item]:format:__tmux-formats' \
'-f+[filter items]:filter format:__tmux-formats' \
@@ -562,6 +563,8 @@ _tmux-paste-buffer() {
_tmux-pipe-pane() {
[[ -n ${tmux_describe} ]] && print "pipe output from a pane to a shell command" && return
_arguments -s -A "-*" -S \
+ '-I[write stdout from command to the pane as if it were typed]' \
+ '-O[pipe output from the pane to the command (default unless -I used)]' \
'-o[only open a pipe if none is currently opened]' \
'-t+[specify target pane]:pane:__tmux-panes' \
':shell command:_cmdstring'
@@ -658,12 +661,13 @@ _tmux-save-buffer() {
}
_tmux-select-layout() {
- [[ -n ${tmux_describe} ]] && print "choose a layout for a window" && return
+ [[ -n ${tmux_describe} ]] && print "choose a layout for a pane" && return
_arguments -s -A "-*" -S \
+ '-E[spread the current pane and any panes next to it out evenly]' \
'-n[behave like next-layout]' \
'-o[revert to previous layout]' \
'-p[behave like previous-layout]' \
- '-t+[specify a target window]:target window:__tmux-windows' \
+ '-t+[specify a target pane]:target pane:__tmux-panes' \
':layout:(even-horizontal even-vertical main-horizontal main-vertical tiled)'
}