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.
This commit is contained in:
Tanu Kaskinen 2014-10-18 21:10:40 +03:00
parent 356e133357
commit 414646769d

View file

@ -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'