zsh-completion: Add --monitor-stream completion to pacat

This commit is contained in:
poljar (Damir Jelić) 2013-08-15 14:08:44 +02:00 committed by Tanu Kaskinen
parent 073051f983
commit 6e4335cc71

View file

@ -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' \