aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorOğuz Ersen <oguz@ersen.moe>2022-03-27 11:50:12 +0300
committerSimon Ser <contact@emersion.fr>2022-03-27 11:27:57 +0200
commitfb3330c1fbcf550118d774900f79756a596d7c3b (patch)
tree633406da94172f3596f2df06008b7c28ecb93614 /completions
parent6c4c0387a24b145b86aa6c8e89db06429c7114fd (diff)
bash-completion: localize variables
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/sway2
-rw-r--r--completions/bash/swaybar2
-rw-r--r--completions/bash/swaymsg2
3 files changed, 3 insertions, 3 deletions
diff --git a/completions/bash/sway b/completions/bash/sway
index edd752cd..01b20073 100644
--- a/completions/bash/sway
+++ b/completions/bash/sway
@@ -2,7 +2,7 @@
_sway()
{
- local cur prev
+ local cur prev short long
_get_comp_words_by_ref cur prev
short=(
diff --git a/completions/bash/swaybar b/completions/bash/swaybar
index 1e085c65..3709d4f9 100644
--- a/completions/bash/swaybar
+++ b/completions/bash/swaybar
@@ -2,7 +2,7 @@
_swaybar()
{
- local cur prev
+ local cur prev short long
_get_comp_words_by_ref cur prev
short=(
diff --git a/completions/bash/swaymsg b/completions/bash/swaymsg
index f865e4e1..30457751 100644
--- a/completions/bash/swaymsg
+++ b/completions/bash/swaymsg
@@ -2,7 +2,7 @@
_swaymsg()
{
- local cur prev
+ local cur prev types short long
_get_comp_words_by_ref cur prev
types=(