[pulseaudio-discuss] [PATCH 3/3] zsh-completion: Add --monitor-stream completion to pacat

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Oct 29 18:51:26 CET 2013


On Thu, 2013-08-15 at 14:08 +0200, poljar (Damir Jelić) wrote:
> ---
>  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 e872736..abc443a 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' \

"device:_devices" probably isn't right?

I applied the first two patches.

-- 
Tanu



More information about the pulseaudio-discuss mailing list