summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Stacchiotti <andreastacchiotti@gmail.com>2015-11-15 06:48:24 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-08-08 12:27:11 +0100
commit510a3feb84eb54be7aa95ffc15375846a103eeb9 (patch)
treed2c0bb7ecb6fa5b468409e35044815e7b0a45da4
parent198e8b0229ebe9beb886def03f123fc95d165423 (diff)
downloaddconf-510a3feb84eb54be7aa95ffc15375846a103eeb9.tar.gz
dconf: fix command line completion for "dconf update"
Due to a typo, there was no "update" completion option, but a " update" one, which required the user to type "\ " to get a completion, instead of "u". https://bugzilla.gnome.org/show_bug.cgi?id=758126
-rw-r--r--bin/completion/dconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/completion/dconf b/bin/completion/dconf
index 37ab477..22353b7 100644
--- a/bin/completion/dconf
+++ b/bin/completion/dconf
@@ -9,13 +9,13 @@ __dconf() {
case "${COMP_CWORD}" in
1)
- choices=$'help \nread \nlist \nwrite \nreset\n update \nlock \nunlock \nwatch \ndump \nload '
+ choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload '
;;
2)
case "${COMP_WORDS[1]}" in
help)
- choices=$'help \nread \nlist \nwrite \nreset\n update \nlock \nunlock \nwatch \ndump \nload '
+ choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload '
;;
list|dump|load)
choices="$(dconf _complete / "${COMP_WORDS[2]}")"