From 73bf5c157d6ce8d3333d1b9ffd8cf70369f98001 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 17 Dec 2021 20:32:24 +0100 Subject: Reorder the packages/dependencies based on frequent use/priority --- .bash_profile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.bash_profile') 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 -- cgit v1.2.3