summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile16
1 files changed, 8 insertions, 8 deletions
diff --git a/.bash_profile b/.bash_profile
index c04a8b3..48754c2 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -51,14 +51,6 @@ if command -v rbenv 1>/dev/null 2>&1; then
eval "$(rbenv init -)"
fi
-# ==== NVM config
-# node version manager from homebrew ,the source line to move install location
-# and prevent Node installs being lost upon upgrading nvm.
-if [ -d $HOME/.nvm ]; then
- export NVM_DIR=~/.nvm
- source $(brew --prefix nvm)/nvm.sh
-fi
-
# ==== pyenv config (and virtualenv)
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init --path)"
@@ -81,6 +73,14 @@ if [ -f $HOME/.cargo/env ]; then
source "$HOME/.cargo/env"
fi
+# ==== NVM config
+# node version manager from homebrew ,the source line to move install location
+# and prevent Node installs being lost upon upgrading nvm.
+if [ -d $HOME/.nvm ]; then
+ export NVM_DIR=~/.nvm
+ source $(brew --prefix nvm)/nvm.sh
+fi
+
# ==== MISC config
if command -v thefuck 1>/dev/null 2>&1; then
# allow fuck to be alias of thefuck