Commit ef417598 authored by Pat Regan's avatar Pat Regan
Browse files

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

parent 993e05da
...@@ -60,3 +60,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \ ...@@ -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
...@@ -18,8 +18,8 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh ...@@ -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" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment