mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-18 06:09:51 +00:00
Replace redundant calls to compinit with a single call.
This commit is contained in:
@@ -17,6 +17,10 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
|
||||
# Load the theme
|
||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||
|
||||
# Load and run compinit
|
||||
autoload -U compinit
|
||||
compinit -i
|
||||
|
||||
# Check for updates on initial load...
|
||||
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user