summaryrefslogtreecommitdiff
path: root/bin/dconf-bash-completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dconf-bash-completion.sh')
-rw-r--r--bin/dconf-bash-completion.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/dconf-bash-completion.sh b/bin/dconf-bash-completion.sh
index 4d10310..fc1e7aa 100644
--- a/bin/dconf-bash-completion.sh
+++ b/bin/dconf-bash-completion.sh
@@ -17,8 +17,11 @@ __dconf() {
help)
choices=$'help \nread \nlist \nwrite \nupdate \nlock \nunlock \nwatch '
;;
+ list)
+ choices="$(dconf _complete / "${COMP_WORDS[2]}")"
+ ;;
read|list|write|lock|unlock|watch)
- choices="$(dconf _complete "${COMP_WORDS[2]}")"
+ choices="$(dconf _complete '' "${COMP_WORDS[2]}")"
;;
esac
;;