This fixes some wrong completion for the list commands for example:
pactl list sinks _sink_name_
_known_hosts_real "$cur"
;;
esac
_known_hosts_real "$cur"
;;
esac
+ [[ $COMPREPLY ]] && return 0
case $prev in
list) COMPREPLY=($(compgen -W '${list_types[*]}' -- "$cur")) ;;
case $prev in
list) COMPREPLY=($(compgen -W '${list_types[*]}' -- "$cur")) ;;
-s)
_known_hosts_real "$cur" ;;
esac
-s)
_known_hosts_real "$cur" ;;
esac
+ [[ $COMPREPLY ]] && return 0
describe-module|load-module)
comps=$(__all_modules)
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))
describe-module|load-module)
comps=$(__all_modules)
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))