move nvm to antigen lazy load
This commit is contained in:
parent
2be5d32fe0
commit
4e693b72e7
9
.zshrc
9
.zshrc
|
@ -8,6 +8,12 @@ EOF
|
|||
else
|
||||
source "$HOME/antigen/antigen.zsh"
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
export NVM_COMPLETION=true
|
||||
export NVM_LAZY_LOAD=true
|
||||
export NVM_AUTO_USE=true
|
||||
antigen bundle lukechilds/zsh-nvm
|
||||
|
||||
antigen bundle zsh-users/zsh-autosuggestions
|
||||
antigen use oh-my-zsh
|
||||
antigen bundle arialdomartini/oh-my-git
|
||||
|
@ -17,9 +23,6 @@ fi
|
|||
|
||||
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
if [ ! -f ~/.fzf.zsh ]; then
|
||||
cat<<EOF
|
||||
FZF Not installed!
|
||||
|
|
Loading…
Reference in New Issue