provide error message in case of error

This commit is contained in:
Gasan (G.) Guseinov 2023-03-03 15:54:51 +01:00
parent 567ea8ebc9
commit 60702273ef

View file

@ -175,6 +175,7 @@ _%[1]s()
if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then
__%[1]s_debug "Completion received error. Ignoring completions." __%[1]s_debug "Completion received error. Ignoring completions."
_message -r "${out}"
return return
fi fi