diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2014-10-18 21:10:40 +0300 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2014-10-26 21:00:23 +0200 |
commit | 414646769d68285c6db2fa276de07e426f227dcf (patch) | |
tree | 404bead72624a6bd5c26acc7c7bf6a400104b4a1 /shell-completion | |
parent | 356e13335702508f50b81990c2847742e1a0caae (diff) | |
download | pulseaudio-414646769d68285c6db2fa276de07e426f227dcf.tar.gz |
shell-completion: zsh: Mark a variable as local
Variables are global by default, and we certainly don't want
_pactl_commands to be a global variable.
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/zsh/_pulseaudio | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell-completion/zsh/_pulseaudio b/shell-completion/zsh/_pulseaudio index 1c786dc10..5f66ed916 100644 --- a/shell-completion/zsh/_pulseaudio +++ b/shell-completion/zsh/_pulseaudio @@ -229,6 +229,8 @@ _pactl_completion() { _set_remote _pactl_command(){ + local -a _pactl_commands + _pactl_commands=( 'help: show help and exit' 'stat: dump statistics about the PulseAudio daemon' |