dotfiles/bash/.bash_profile

22 lines
504 B
Bash
Raw Normal View History

2019-01-28 02:46:29 +00:00
#
2019-05-04 16:43:16 +00:00
# $HOME/.bash_profile
2019-01-28 02:46:29 +00:00
#
if [ -f /usr/share/nvm/init-nvm.sh ];
then
source /usr/share/nvm/init-nvm.sh
fi
if [ -d "$HOME/.nvm" ];
then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fi
2019-05-04 16:43:16 +00:00
[[ -f "$HOME/.bashrc" ]] && source $HOME/.bashrc
2019-01-28 02:46:29 +00:00
2019-05-04 16:43:16 +00:00
[[ -f "$HOME/.bash_local" ]] && source "$HOME/.bash_local"
2019-02-07 21:53:02 +00:00
2019-05-04 16:43:16 +00:00
[[ -f "$HOME/.profile" ]] && source "$HOME/.profile"