Skip to content

Commit

Permalink
Make ZSH_DISABLE_COMPFIX change compatible with the -o flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSMB committed Sep 29, 2018
1 parent 8458946 commit 06c55d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ __nvm() {
# ZSH, load and run bashcompinit before calling the complete function.
if [[ -n ${ZSH_VERSION-} ]]; then
autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && if [[ $ZSH_DISABLE_COMPFIX = true ]]; then
autoload -U +X compinit && if [[ ${ZSH_DISABLE_COMPFIX-} = true ]]; then
compinit -u
else
compinit
Expand Down

0 comments on commit 06c55d1

Please sign in to comment.