about summary refs log tree commit diff
path: root/Completion/Unix/Command/_gsettings
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2018-01-23 11:01:55 +0100
committerOliver Kiddle <opk@zsh.org>2018-01-23 11:03:00 +0100
commit47430bcd7cb2fade4d8753d920a2720eeca52f6a (patch)
tree98377cd51b72bbd0efe9406fd9e3aeab46c2ebae /Completion/Unix/Command/_gsettings
parentaabf978fce356e7efa91202dc72e37e6e2ece65e (diff)
downloadzsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.tar.gz
zsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.tar.xz
zsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.zip
42317: completion option updates for commands that have had recent updates
Diffstat (limited to 'Completion/Unix/Command/_gsettings')
-rw-r--r--Completion/Unix/Command/_gsettings5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gsettings b/Completion/Unix/Command/_gsettings
index 890b56403..2724be0ea 100644
--- a/Completion/Unix/Command/_gsettings
+++ b/Completion/Unix/Command/_gsettings
@@ -3,7 +3,7 @@
 local curcontext="$curcontext" state line expl ret=1
 local subcmds
 
-_arguments \
+_arguments -A "-*" \
   '(- 1 *)--version[show version information]' \
   '--schemadir[specify location of schemata]:directory:_directories' \
   ':command:->subcmds' \
@@ -20,6 +20,9 @@ if [[ $state = subargs ]]; then
       _arguments ':schema:->schemata' ':key:->keys' ':value'
     ;;
     (list|reset)-(keys|recursively|children)) state=schemata ;;
+    list-schemas)
+      _arguments '--print-paths'
+    ;;
     *) _default && ret=0 ;;
   esac
 fi