diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2015-08-10 15:27:29 +0200 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2015-08-10 16:50:52 +0200 |
commit | 1afcae59e621534d5a4cabbdcc5f1f7f6ee4b84c (patch) | |
tree | 433e47bc9c385354b917a0e57dec9cad6aec9e0a /Completion/Unix | |
parent | ad7ef9cf1fb4284ece5176a3e83a930f139f3ea1 (diff) | |
download | zsh-1afcae59e621534d5a4cabbdcc5f1f7f6ee4b84c.tar.gz zsh-1afcae59e621534d5a4cabbdcc5f1f7f6ee4b84c.tar.xz zsh-1afcae59e621534d5a4cabbdcc5f1f7f6ee4b84c.zip |
36049: _tmux: options => session_options
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_tmux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux index 76dce0644..18cbe27b7 100644 --- a/Completion/Unix/Command/_tmux +++ b/Completion/Unix/Command/_tmux @@ -1423,9 +1423,9 @@ function __tmux-option-guard() { esac } -function __tmux-options() { - local -a tmux_options - tmux_options=( +function __tmux-session-options() { + local -a tmux_session_options + tmux_session_options=( 'base-index:define where to start numbering' 'bell-action:set action on window bell' 'buffer-limit:number of buffers kept per session' @@ -1479,7 +1479,7 @@ function __tmux-options() { 'visual-bell:use visual bell instead of audible' 'visual-content:display status line messages upon content changes' ) - _describe -t tmux-options 'tmux option' tmux_options + _describe -t tmux-options 'tmux session option' tmux_session_options } function __tmux-options-complete() { @@ -1488,7 +1488,7 @@ function __tmux-options-complete() { case ${state} in name_or_value) if (( CURRENT == 1 )) && [[ ${mode} == 'session' ]]; then - __tmux-options + __tmux-session-options elif (( CURRENT == 1 )) && [[ ${mode} == 'server' ]]; then __tmux-server-options elif (( CURRENT == 1 )) && [[ ${mode} == 'window' ]]; then |