]> code.delx.au - pulseaudio/blobdiff - shell-completion/pulseaudio-zsh-completion.zsh
shell-completion: Add list-cards to the pacmd completion.
[pulseaudio] / shell-completion / pulseaudio-zsh-completion.zsh
index 4a859569f04e5917c52537f598c25d5bbf19fc1a..142d0314d032bcda2cf09085b301b084f7ee83e5 100644 (file)
@@ -329,6 +329,7 @@ _pacmd_completion() {
         _pacmd_commands=(
             'help: show help and exit'
             'list-modules: list modules'
+            'list-cards: list cards'
             'list-sinks: list sinks'
             'list-sources: list sources'
             'list-clients: list clients'
@@ -470,8 +471,9 @@ _pacat_completion() {
         '--property=[set the specified property]:property' \
         '--raw[record/play raw PCM data]' \
         '--passthrough[passtrough data]' \
-        '--file-format[record/play formatted PCM data]:format:_pacat_file_formats' \
+        '--file-format=[record/play formatted PCM data]:format:_pacat_file_formats' \
         '--list-file-formats[list available formats]' \
+        '::files:_files' \
 }
 
 # TODO log-target file completion