summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorpoljar (Damir Jelić) <poljarinho@gmail.com>2013-08-15 14:08:44 +0200
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2013-10-29 20:59:32 +0200
commit6e4335cc71102b2feed99b7158366cb12152f7e6 (patch)
tree15aa7b6858c4a59d88defe104e1e9a0ccde7677f /shell-completion
parent073051f9830d056a96910589a7505345ebe77ab1 (diff)
zsh-completion: Add --monitor-stream completion to pacat
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/pulseaudio-zsh-completion.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh
index e872736f3..abc443a41 100644
--- a/shell-completion/pulseaudio-zsh-completion.zsh
+++ b/shell-completion/pulseaudio-zsh-completion.zsh
@@ -36,6 +36,7 @@ _devices() {
cmd=('sinks' 'sources')
fi
;;
+ --monitor-stream=*) cmd=('sink-inputs');;
esac
case $words[$((CURRENT - 1))] in
@@ -468,6 +469,7 @@ _pacat_completion() {
{-p,--playback}'[create a connection for playback]' \
{-s,--server=}'[name of server to connect to]:host:_hosts' \
{-d,--device=}'[name of sink/source to connect to]:device:_devices' \
+ '--monitor-stream=[index of the sink input to record from]:device:_devices' \
{-n,--client-name=}'[client name to use]:name' \
'--stream-name=[how to call this stream]:name' \
'--volume=[initial volume to use]:volume' \