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:
Ade Attwood 2023-03-16 21:01:35 +00:00
parent 243a0aa497
commit 7415d4e858

View file

@ -77,11 +77,6 @@ if [ -d $HOME/Code ]; then
export PATH=$PATH:$GOPATH/bin
fi
#
# Init oh-my-zsh
#
source $ZSH/oh-my-zsh.sh
export EDITOR="nvim"
#
@ -125,6 +120,11 @@ export NVM_DIR="$HOME/.nvm"
# https://github.com/sharkdp/bat#highlighting-theme
export BAT_THEME="base16"
#
# Init oh-my-zsh
#
source $ZSH/oh-my-zsh.sh
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools