mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
fix handling of symbolic port names in zsh completion
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/500>
This commit is contained in:
parent
de8b7c0d8f
commit
d74c47340a
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ _ports() {
|
||||||
if [[ $line != [[:blank:]] &&
|
if [[ $line != [[:blank:]] &&
|
||||||
$line != (*Part?of*|*Properties:*|*device.icon_name*) ]]; then
|
$line != (*Part?of*|*Properties:*|*device.icon_name*) ]]; then
|
||||||
_port_name=${line%%: *}
|
_port_name=${line%%: *}
|
||||||
_port_name=${_port_name//[[:blank:]]/}
|
_port_name=${_port_name##[[:blank:]]#}
|
||||||
_port_description=${line#*: }
|
_port_description=${line#*: }
|
||||||
_port_list+=($_port_name:$_port_description)
|
_port_list+=($_port_name:$_port_description)
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue