[pulseaudio-commits] Branch 'next' - shell-completion/pulseaudio-bash-completion.sh shell-completion/pulseaudio-zsh-completion.zsh
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Wed May 22 06:24:18 PDT 2013
shell-completion/pulseaudio-bash-completion.sh | 2 +-
shell-completion/pulseaudio-zsh-completion.zsh | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 1d514bae548fa9de94b5917c50b6a31d6c7b3763
Author: poljar (Damir JeliÄ) <poljarinho at gmail.com>
Date: Wed May 22 14:58:10 2013 +0200
shell-completion: Add list-cards to the pacmd completion.
The list-cards command was missing for both of the shell completions.
This fixes it.
diff --git a/shell-completion/pulseaudio-bash-completion.sh b/shell-completion/pulseaudio-bash-completion.sh
index a82b10e..5f60092 100644
--- a/shell-completion/pulseaudio-bash-completion.sh
+++ b/shell-completion/pulseaudio-bash-completion.sh
@@ -259,7 +259,7 @@ _pacmd() {
local cur prev words cword preprev command
local comps
local flags='-h --help --version'
- local commands=(exit help list-modules list-sinks list-sources list-clients
+ local commands=(exit help list-modules list-cards list-sinks list-sources list-clients
list-samples list-sink-inputs list-source-outputs stat info
load-module unload-module describe-module set-sink-volume
set-source-volume set-sink-input-volume set-source-output-volume
diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh
index d73b74d..142d031 100644
--- a/shell-completion/pulseaudio-zsh-completion.zsh
+++ b/shell-completion/pulseaudio-zsh-completion.zsh
@@ -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'
More information about the pulseaudio-commits
mailing list