[pulseaudio-discuss] [PATCH] shell-completion: Add completion for parec

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sat May 24 03:05:52 PDT 2014


---
 shell-completion/pulseaudio-bash-completion.sh | 2 +-
 shell-completion/pulseaudio-zsh-completion.zsh | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/shell-completion/pulseaudio-bash-completion.sh b/shell-completion/pulseaudio-bash-completion.sh
index 43f4a2c..7775b08 100644
--- a/shell-completion/pulseaudio-bash-completion.sh
+++ b/shell-completion/pulseaudio-bash-completion.sh
@@ -492,7 +492,7 @@ _pacat () {
             ;;
     esac
 }
-complete -F _pacat pacat paplay parecord
+complete -F _pacat pacat paplay parec parecord
 
 _pulseaudio()
 {
diff --git a/shell-completion/pulseaudio-zsh-completion.zsh b/shell-completion/pulseaudio-zsh-completion.zsh
index abc443a..4101a21 100644
--- a/shell-completion/pulseaudio-zsh-completion.zsh
+++ b/shell-completion/pulseaudio-zsh-completion.zsh
@@ -541,6 +541,7 @@ _pulseaudio() {
         pacmd) _pacmd_completion;;
         pacat) _pacat_completion;;
         paplay)_pacat_completion;;
+        parec) _pacat_completion;;
         parecord)_pacat_completion;;
         padsp) _padsp_completion;;
         pasuspender) _pasuspender_completion;;
-- 
1.9.3



More information about the pulseaudio-discuss mailing list