From 6e4335cc71102b2feed99b7158366cb12152f7e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Thu, 15 Aug 2013 14:08:44 +0200 Subject: [PATCH] zsh-completion: Add --monitor-stream completion to pacat --- shell-completion/pulseaudio-zsh-completion.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh index e872736f..abc443a4 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' \ -- 2.39.2