mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
move compinit before loading of local env files
This commit is contained in:
@@ -5,6 +5,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
autoload -U +X compinit && compinit # fix compdef not found
|
||||||
|
|
||||||
if [ -f $HOME/.zshrc_local ]; then
|
if [ -f $HOME/.zshrc_local ]; then
|
||||||
source $HOME/.zshrc_local
|
source $HOME/.zshrc_local
|
||||||
fi
|
fi
|
||||||
@@ -26,8 +28,6 @@ if [ -f $LOCAL_ALIAS_FILE ]; then
|
|||||||
source $LOCAL_ALIAS_FILE
|
source $LOCAL_ALIAS_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoload -U +X compinit && compinit # fix compdef not found
|
|
||||||
|
|
||||||
# configure oh-my-zsh/nvm for lazy loading nvm
|
# configure oh-my-zsh/nvm for lazy loading nvm
|
||||||
zstyle ':omz:plugins:nvm' lazy yes
|
zstyle ':omz:plugins:nvm' lazy yes
|
||||||
zstyle ':omz:plugins:nvm' autoload yes
|
zstyle ':omz:plugins:nvm' autoload yes
|
||||||
|
|||||||
Reference in New Issue
Block a user