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 --- Completion/Unix/Command/_tmux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Completion') 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