summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_tmux4
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 <p.stephenson@samsung.com>
* 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 )