Skip to content

Commit acebdc0

Browse files
committed
fix(xgamma): avoid unexpected expansion by -W
1 parent 408bef0 commit acebdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/xgamma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ _comp_cmd_xgamma()
3333
local t screens=$(xrandr --query 2>/dev/null | command sed -ne \
3434
'/^Screen /s|^Screen \{1,\}\(.*\):.*$|\1|p' 2>/dev/null)
3535
t="${cur#:}"
36-
COMPREPLY=($(compgen -P "${t%.*}." -W "$screens" -- \
36+
COMPREPLY=($(compgen -P "${t%.*}." -W '$screens' -- \
3737
"${cur##*.}"))
3838
elif [[ $cur != *:* ]]; then
3939
# complete hostnames

0 commit comments

Comments
 (0)