diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2014-08-16 14:48:19 +0300 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2014-08-17 09:30:16 +0300 |
commit | 64d17a6b0a074970a3ab893f79690a7ab04aabcd (patch) | |
tree | fc776eac0f2087a1a7ce5958ac3e293c3f4bb545 /shell-completion | |
parent | db6d5011cd03a8841614b729fecc9c612a4ed10a (diff) |
shell-completion: zsh: Add "=" to the end of some command options
Without the equals sign, only the "--server foo" form is recognized,
so the "--server=foo" form doesn't get completion support.
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/zsh/_pulseaudio | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell-completion/zsh/_pulseaudio b/shell-completion/zsh/_pulseaudio index 77abe2be3..1c786dc10 100644 --- a/shell-completion/zsh/_pulseaudio +++ b/shell-completion/zsh/_pulseaudio @@ -278,8 +278,8 @@ _pactl_completion() { _arguments -C -S -A '-*' \ {-h,--help}'[display help and exit]' \ '--version[show version and exit]' \ - {-s,--server}'[name of server to connect to]:host:_hosts' \ - {-n,--client-name}'[client name to use]:name' \ + {-s,--server=}'[name of server to connect to]:host:_hosts' \ + {-n,--client-name=}'[client name to use]:name' \ '::pactl command:_pactl_command' case $words[$((CURRENT - 1))] in @@ -406,7 +406,7 @@ _pasuspender_completion() { _arguments -S -A "-*" -C \ {-h,--help}'[display help and exit]' \ '--version[show version and exit]' \ - {-s,--server}'[name of server to connect to]:host:_hosts' \ + {-s,--server=}'[name of server to connect to]:host:_hosts' \ } _padsp_completion() { |