mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
shell-completion: Do not use 'awk -e' in bash completion
mawk does not support option -e. If mawk is the default awk, like it is in Ubuntu by default, the completion does not work.
This commit is contained in:
parent
a6beb3f4bf
commit
2afadb7119
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ __source_outputs () {
|
|||
}
|
||||
|
||||
__ports () {
|
||||
pactl list cards 2> /dev/null | awk -e \
|
||||
pactl list cards 2> /dev/null | awk -- \
|
||||
'/^\tPorts:/ {
|
||||
flag=1; next
|
||||
}
|
||||
|
|
@ -57,7 +57,7 @@ __ports () {
|
|||
}
|
||||
|
||||
__profiles () {
|
||||
pactl list cards 2> /dev/null | awk -e \
|
||||
pactl list cards 2> /dev/null | awk -- \
|
||||
'/^\tProfiles:/ {
|
||||
flag=1; next
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue