summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 15:27:25 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 16:50:50 +0200
commitab234991b7fadbf04bae3158c714c3105439e644 (patch)
tree4a5879e0d6c690bdde3e0286c53763e5ccdc40b7
parent75530dc965c25b1469b74cbd55224b09602e4120 (diff)
downloadzsh-ab234991b7fadbf04bae3158c714c3105439e644.tar.gz
zsh-ab234991b7fadbf04bae3158c714c3105439e644.tar.xz
zsh-ab234991b7fadbf04bae3158c714c3105439e644.zip
36050: _tmux: Don't unset, set empty in local scope
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_tmux2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e24165ed4..4433f5bc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,9 @@
 
 	* 36063: Completion/Unix/Command/_tmux: _tmux: Remove dead code
 
+	* 36050: Completion/Unix/Command/_tmux: _tmux: Don't unset, set
+	empty in local scope
+
 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 a6e5e4a59..91d74b8e4 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -1606,7 +1606,7 @@ function _tmux() {
     local mode state ret=1
     local -a args
     local -x tmuxcommand
-    unset tmux_describe
+    local tmux_describe=
 
     args=(
         '-2[force using 256 colours]'