_completion_loader: Protect compgen from -* leakage (Debian: #769399)
This commit is contained in:
parent
ed07b18e61
commit
32e6e49088
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user