_completion_loader: Protect compgen from -* leakage (Debian: #769399)

This commit is contained in:
Ville Skyttä 2014-11-15 21:37:47 +02:00
parent ed07b18e61
commit 32e6e49088

View File

@ -1965,7 +1965,7 @@ _completion_loader()
done done
# Need to define *something*, otherwise there will be no completion at all. # Need to define *something*, otherwise there will be no completion at all.
complete -F _minimal "$cmd" && return 124 complete -F _minimal -- "$cmd" && return 124
} && } &&
complete -D -F _completion_loader complete -D -F _completion_loader