diff options
author | poljar (Damir Jelić) <poljarinho@gmail.com> | 2013-08-15 14:08:42 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-10-29 19:46:18 +0200 |
commit | 47729c43b4b0e59bac5858e66f851ad01aa44c68 (patch) | |
tree | a9a5e9691e71396a8446868eede7874555eda53e /shell-completion | |
parent | 832ad693f5081b09a36d180f81c19be9092eb2e9 (diff) | |
download | pulseaudio-47729c43b4b0e59bac5858e66f851ad01aa44c68.tar.gz |
bash-completion: Add --monitor-stream completion to pacat
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/pulseaudio-bash-completion.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shell-completion/pulseaudio-bash-completion.sh b/shell-completion/pulseaudio-bash-completion.sh index d5b99db0d..43f4a2c39 100644 --- a/shell-completion/pulseaudio-bash-completion.sh +++ b/shell-completion/pulseaudio-bash-completion.sh @@ -439,7 +439,7 @@ _pacat () { --rate= --format= --channels= --channel-map= --fix-format --fix-rate --fix-channels --no-remix --no-remap --latency= --process-time= --latency-msec= --process-time-msec= --property= --raw --passthrough - --file-format= --list-file-formats' + --file-format= --list-file-formats --monitor-stream=' _init_completion -n = || return @@ -456,6 +456,12 @@ _pacat () { COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) ;; + --monitor-stream=*) + cur=${cur#*=} + comps=$(__sink_inputs) + COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) + ;; + --rate=*) cur=${cur#*=} COMPREPLY=($(compgen -W '32000 44100 48000 9600 192000' -- "$cur")) |