mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
356e133357
commit
414646769d
1 changed files with 2 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue