From ada92732f0086035c850e877c791e23a79bf923d Mon Sep 17 00:00:00 2001 From: "poljar (Damir Jelić)" Date: Sun, 17 Mar 2013 22:06:41 +0100 Subject: zsh-completion: Fix pacat completion. pacat --format needs = (--format=). Also pacat should complete files firstly and command line arguments secondly. --- shell-completion/pulseaudio-zsh-completion.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell-completion') 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 -- cgit v1.2.3