From 510a3feb84eb54be7aa95ffc15375846a103eeb9 Mon Sep 17 00:00:00 2001 From: Andrea Stacchiotti Date: Sun, 15 Nov 2015 06:48:24 +0100 Subject: 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 --- bin/completion/dconf | 4 ++-- 1 file 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]}")" -- cgit v1.2.1