summaryrefslogtreecommitdiff
path: root/shell-completion/pulseaudio-zsh-completion.zsh
diff options
context:
space:
mode:
authorpoljar (Damir Jelić) <poljarinho@gmail.com>2013-03-17 22:06:41 +0100
committerTanu Kaskinen <tanuk@iki.fi>2013-03-18 21:28:21 +0200
commitada92732f0086035c850e877c791e23a79bf923d (patch)
treefdca94458e4883441c0100453c32fa98ba3d2f03 /shell-completion/pulseaudio-zsh-completion.zsh
parentd127e801dc8c881bb5c58b659f19c362c1dcfccf (diff)
zsh-completion: Fix pacat completion.
pacat --format needs = (--format=). Also pacat should complete files firstly and command line arguments secondly.
Diffstat (limited to 'shell-completion/pulseaudio-zsh-completion.zsh')
-rw-r--r--shell-completion/pulseaudio-zsh-completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh
index 4a859569f..d73b74d79 100644
--- a/shell-completion/pulseaudio-zsh-completion.zsh
+++ b/shell-completion/pulseaudio-zsh-completion.zsh
@@ -470,8 +470,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