[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] fix handling of symbolic port names in zsh completion
PulseAudio Marge Bot
gitlab at gitlab.freedesktop.org
Mon Feb 15 15:17:29 UTC 2021
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210215/841a06ae/attachment.htm>
More information about the pulseaudio-commits
mailing list