From ada92732f0086035c850e877c791e23a79bf923d Mon Sep 17 00:00:00 2001 From: =?utf8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Sun, 17 Mar 2013 22:06:41 +0100 Subject: [PATCH] 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(-) diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh index 4a85956..d73b74d 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 -- 2.7.4