diff options
author | Andrea Stacchiotti <andreastacchiotti@gmail.com> | 2015-11-15 06:48:24 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-08-08 12:27:11 +0100 |
commit | 510a3feb84eb54be7aa95ffc15375846a103eeb9 (patch) | |
tree | d2c0bb7ecb6fa5b468409e35044815e7b0a45da4 /bin | |
parent | 198e8b0229ebe9beb886def03f123fc95d165423 (diff) | |
download | dconf-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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/completion/dconf | 4 |
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]}")" |