fix(zsh): move zsh init after path is setup
This is so the NVM_DIR is defined so the nvmrc plugin will work correctly when loaded with zsh.
This commit is contained in:
parent
243a0aa497
commit
7415d4e858
1 changed files with 5 additions and 5 deletions
|
|
@ -77,11 +77,6 @@ if [ -d $HOME/Code ]; then
|
||||||
export PATH=$PATH:$GOPATH/bin
|
export PATH=$PATH:$GOPATH/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
|
||||||
# Init oh-my-zsh
|
|
||||||
#
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -125,6 +120,11 @@ export NVM_DIR="$HOME/.nvm"
|
||||||
# https://github.com/sharkdp/bat#highlighting-theme
|
# https://github.com/sharkdp/bat#highlighting-theme
|
||||||
export BAT_THEME="base16"
|
export BAT_THEME="base16"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Init oh-my-zsh
|
||||||
|
#
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
export ANDROID_HOME=$HOME/Android/Sdk
|
export ANDROID_HOME=$HOME/Android/Sdk
|
||||||
export PATH=$PATH:$ANDROID_HOME/emulator
|
export PATH=$PATH:$ANDROID_HOME/emulator
|
||||||
export PATH=$PATH:$ANDROID_HOME/tools
|
export PATH=$PATH:$ANDROID_HOME/tools
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue