From ad7ef9cf1fb4284ece5176a3e83a930f139f3ea1 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 10 Aug 2015 15:27:28 +0200 Subject: 36054: _tmux: "local -x" serves no purpose --- ChangeLog | 3 +++ Completion/Unix/Command/_tmux | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5aeccb4f8..20d0fea3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,9 @@ * 36057: Completion/Unix/Command/_tmux: _tmux: Replay all arguments when dispatching to new _tmux() + * 36054: Completion/Unix/Command/_tmux: _tmux: "local -x" serves + no purpose + 2015-08-10 Peter Stephenson * 36045: Test/A05execution.ztst: make effect of failures diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux index 2eaf0cd0d..76dce0644 100644 --- a/Completion/Unix/Command/_tmux +++ b/Completion/Unix/Command/_tmux @@ -1605,7 +1605,7 @@ function _tmux() { local curcontext="${curcontext}" local mode state ret=1 local -a args - local -x tmuxcommand + local tmuxcommand local tmux_describe= args=( @@ -1665,7 +1665,7 @@ function _tmux() { # description generation follows; only done on 1st _tmux call. local f desc local -A rev -local -x tmux_describe +local tmux_describe tmux_describe='yes, please' for f in ${(k)_tmux_aliasmap} ; do rev+=( ${_tmux_aliasmap[$f]} $f ) -- cgit 1.4.1