From 341d4434146d2216d4cdf4f0fffd060670d4c5c6 Mon Sep 17 00:00:00 2001 From: "Keerthan jai.c" Date: Sun, 20 Jul 2014 20:52:32 -0400 Subject: users/18981: improved tmux function completion --- ChangeLog | 5 +++++ Completion/Unix/Command/_tmux | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7da9b01a..e9deb6e55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-07-23 Peter Stephenson + + * Jai Keerthan: users/18981: Completion/Unix/Command/_tmux: + improved function completion. + 2014-07-23 Barton E. Schaefer * 32898 (credit Jun T.): Doc/Zsh/mod_pcre.yo: fix bug in 32891. 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() { -- cgit 1.4.1