Skip to content

shell-completion: bash: Localize word variable

Sibo Dong requested to merge dongsibo/pulseaudio:master into master

The word variables used in the _pactl and _pacmd functions are unlocalized. Thus, the variable appears in the user's environment when tab-completing with pactl or pacmd. This may clobber another variable of the same name, which is undesirable.

Localize the word variable to fix this issue.

Edited by Sibo Dong

Merge request reports