diff options
author | Keerthan jai.c <jckeerthan@gmail.com> | 2014-07-20 20:52:32 -0400 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-07-23 21:13:49 +0100 |
commit | 341d4434146d2216d4cdf4f0fffd060670d4c5c6 (patch) | |
tree | 682cd3540f698baa75d960632d1e78102797718b /Completion/Unix/Command/_tmux | |
parent | f33270e8797c258caec81dfd94dfaff99acda29b (diff) | |
download | zsh-341d4434146d2216d4cdf4f0fffd060670d4c5c6.tar.gz zsh-341d4434146d2216d4cdf4f0fffd060670d4c5c6.tar.xz zsh-341d4434146d2216d4cdf4f0fffd060670d4c5c6.zip |
users/18981: improved tmux function completion
Diffstat (limited to 'Completion/Unix/Command/_tmux')
-rw-r--r-- | Completion/Unix/Command/_tmux | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux index a8f133295..5a4a2d71f 100644 --- a/Completion/Unix/Command/_tmux +++ b/Completion/Unix/Command/_tmux @@ -573,12 +573,13 @@ function _tmux-new-session() { local -a args args=( '-d[do not attach new session to current terminal]' + '-A[attach to existing session if it already exists]' '-n[name the initial window]:window name' - '-s[name the session]:session name' + '-s[name the session]:session name:__tmux-sessions' '-t[specify target session]:sessions:__tmux-sessions' '*:: :_command' ) - _arguments ${args} + _arguments -s ${args} } function _tmux-new-window() { |