about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 15:27:26 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 16:50:51 +0200
commitca53f8a7ca796f321ecfd631f9809aa69ca53cc5 (patch)
tree6233b2399a92a6f6d1ae9fae47e6a9fdbee8cca9
parentab234991b7fadbf04bae3158c714c3105439e644 (diff)
downloadzsh-ca53f8a7ca796f321ecfd631f9809aa69ca53cc5.tar.gz
zsh-ca53f8a7ca796f321ecfd631f9809aa69ca53cc5.tar.xz
zsh-ca53f8a7ca796f321ecfd631f9809aa69ca53cc5.zip
36058: _tmux: No need to unset local variables
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_tmux1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4433f5bc9..8518a08b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@
 	* 36050: Completion/Unix/Command/_tmux: _tmux: Don't unset, set
 	empty in local scope
 
+	* 36058: Completion/Unix/Command/_tmux: _tmux: No need to unset
+	local variables
+
 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 91d74b8e4..a59ffde1c 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -1675,6 +1675,5 @@ for f in ${(M)${(k)functions}:#_tmux-*} ; do
     _tmux_commands+=( "${f#_tmux-}${desc:+:$desc}" )
     [[ -n ${rev[${f#_tmux-}]} ]] && _tmux_aliases+=( "${rev[${f#_tmux-}]}${desc:+:$desc}" )
 done
-unset desc f rev tmux_describe
 
 _tmux