1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh

This commit is contained in:
Pat Regan 2011-04-08 11:10:14 -04:00
parent 993e05da50
commit ef4175981b
2 changed files with 6 additions and 2 deletions

View file

@ -60,3 +60,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to. # ... unless we really want to.
zstyle '*' single-ignored show zstyle '*' single-ignored show
# Load and run compinit
autoload -U compinit
compinit -i

View file

@ -18,8 +18,8 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
source "$ZSH/themes/$ZSH_THEME.zsh-theme" source "$ZSH/themes/$ZSH_THEME.zsh-theme"
# Load and run compinit # Load and run compinit
autoload -U compinit #autoload -U compinit
compinit -i #compinit -i
# Check for updates on initial load... # Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ] if [ "$DISABLE_AUTO_UPDATE" = "true" ]