PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
d74c4734 by pseyfert at 2021-02-15T15:06:35+00:00
fix handling of symbolic port names in zsh completion

Part-of: 
<https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/500>

- - - - -


1 changed file:

- shell-completion/zsh/_pulseaudio


Changes:

=====================================
shell-completion/zsh/_pulseaudio
=====================================
@@ -148,7 +148,7 @@ _ports() {
                 if [[ $line != [[:blank:]] &&
                     $line != (*Part?of*|*Properties:*|*device.icon_name*) ]]; 
then
                     _port_name=${line%%: *}
-                    _port_name=${_port_name//[[:blank:]]/}
+                    _port_name=${_port_name##[[:blank:]]#}
                     _port_description=${line#*: }
                     _port_list+=($_port_name:$_port_description)
                 fi



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/d74c47340afee7d6930756ca6a45376bdb3b6046

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/d74c47340afee7d6930756ca6a45376bdb3b6046
You're receiving this email because of your account on gitlab.freedesktop.org.


_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to