mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
completion: Quote argument to unset
Otherwise it gets globbed and the wrong thing potentially gets unset. Spotted by shellcheck. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
17f0cad2c7
commit
6024fb9753
@ -68,7 +68,7 @@ __gsettings() {
|
||||
range=($(gsettings "$schemadir" range "${COMP_WORDS[$((coffset+2))]}" "${COMP_WORDS[$((coffset+3))]}" 2> /dev/null))
|
||||
case "${range[0]}" in
|
||||
enum)
|
||||
unset range[0]
|
||||
unset 'range[0]'
|
||||
;;
|
||||
*)
|
||||
unset range
|
||||
|
Loading…
Reference in New Issue
Block a user