Skip to content

How to load completions #76

Answered by EvanDurfee
EvanDurfee asked this question in Q&A
Discussion options

You must be logged in to vote

Copying here as an answer:

It's these lines in /etc/zsh/zshrc on ubuntu & friends (at least in version 20.10):

# If you don't want compinit called here, place the line
# skip_global_compinit=1
# in your $ZDOTDIR/.zshenv
if grep -q '^ID.*=.*ubuntu' /etc/os-release && [[ -z "$skip_global_compinit" ]]; then
  autoload -U compinit
  compinit
fi

Adding skip_global_compinit=1 to ~/.zshenv fixed the problem on both my Pop! OS and Ubuntu machines.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@EvanDurfee
Comment options

@marlonrichert
Comment options

@EvanDurfee
Comment options

@EvanDurfee
Comment options

Comment options

You must be logged in to vote
1 reply
@marlonrichert
Comment options

Answer selected by EvanDurfee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants