summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorpoljar (Damir Jelić) <poljarinho@gmail.com>2013-05-22 14:58:10 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-06-04 00:38:43 +0530
commit126a80f3b9f06932238a8d72b75bec743ebeb067 (patch)
tree702b8c03e74d85f53098c54b5cc10af3fdca5208 /shell-completion
parentb0ee51e19e485c57d08f44785911c60b8faa9bcc (diff)
shell-completion: Add list-cards to the pacmd completion.
The list-cards command was missing for both of the shell completions. This fixes it.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/pulseaudio-bash-completion.sh2
-rw-r--r--shell-completion/pulseaudio-zsh-completion.zsh1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/pulseaudio-bash-completion.sh b/shell-completion/pulseaudio-bash-completion.sh
index a82b10ef6..5f60092e0 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 d73b74d79..142d0314d 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'