shell-completion/pulseaudio-bash-completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit bf9b3f07207cf5c2b973647d8e68381ac76ac0db Author: poljar (Damir JeliÄ) <poljari...@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
_______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits