From ca53f8a7ca796f321ecfd631f9809aa69ca53cc5 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 10 Aug 2015 15:27:26 +0200 Subject: 36058: _tmux: No need to unset local variables --- ChangeLog | 3 +++ Completion/Unix/Command/_tmux | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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 * 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 -- cgit 1.4.1