Commit 2afadb71 authored by Jarno Suni's avatar Jarno Suni Committed by Tanu Kaskinen
Browse files

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.
parent a6beb3f4
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment