bash-completion: localize variables

This commit is contained in:
Oğuz Ersen 2022-03-27 11:50:12 +03:00 committed by Simon Ser
parent 6c4c0387a2
commit fb3330c1fb
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
_sway()
{
local cur prev
local cur prev short long
_get_comp_words_by_ref cur prev
short=(

View file

@ -2,7 +2,7 @@
_swaybar()
{
local cur prev
local cur prev short long
_get_comp_words_by_ref cur prev
short=(

View file

@ -2,7 +2,7 @@
_swaymsg()
{
local cur prev
local cur prev types short long
_get_comp_words_by_ref cur prev
types=(