Skip to content
Myr

[New] `bash_completion`: Add support for `ZSH_DISABLE_COMPFIX` flag.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

When using Oh My Zsh the ZSH_DISABLE_COMPFIX flag allows the zsh completion system to use files it deems to be insecure.

authored by Nathan Burchill · committed by Jordan Harband · parent 2d97ce5 · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:bash_completion+5 added-1 removed
83 unmodified lines
84# called bashcompinit that will create a complete in ZSH. If the user is in85# ZSH, load and run bashcompinit before calling the complete function.86if [[ -n ${ZSH_VERSION-} ]]; then87 autoload -U +X bashcompinit && bashcompinit88 autoload -U +X compinit && compinit88 autoload -U +X compinit && if [[ ${ZSH_DISABLE_COMPFIX-} = true ]]; then89 compinit -u90 else91 compinit92 fi93fi9495complete -o default -F __nvm nvm