[pulseaudio-commits] shell-completion/pulseaudio-bash-completion.sh
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Thu Aug 15 00:06:55 PDT 2013
shell-completion/pulseaudio-bash-completion.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bf9b3f07207cf5c2b973647d8e68381ac76ac0db
Author: poljar (Damir JeliÄ) <poljarinho at gmail.com>
Date: Wed Aug 14 16:09:06 2013 +0200
bash-completion: Fix device completion for pacat
The Bash shell completion for pacat --device combines the name of the
last sink and the name of the first source. This patch fixes that by
adding a whitespace separator in the list of devices.
Buglink: https://bugs.freedesktop.org/show_bug.cgi?id=68106
diff --git a/shell-completion/pulseaudio-bash-completion.sh b/shell-completion/pulseaudio-bash-completion.sh
index 5f60092..d5b99db 100644
--- a/shell-completion/pulseaudio-bash-completion.sh
+++ b/shell-completion/pulseaudio-bash-completion.sh
@@ -452,7 +452,7 @@ _pacat () {
--device=*)
cur=${cur#*=}
comps=$(__sinks)
- comps+=$(__sources)
+ comps+=" "$(__sources)
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))
;;
@@ -481,7 +481,7 @@ _pacat () {
-s) _known_hosts_real "$cur" ;;
-d)
comps=$(__sinks)
- comps+=$(__sources)
+ comps+=" "$(__sources)
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))
;;
esac
More information about the pulseaudio-commits
mailing list