dotfiles/.bashrc

22 lines
433 B
Bash
Raw Normal View History

# ~/.bashrc
2022-11-12 11:17:16 -08:00
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
2021-10-15 09:15:30 -07:00
2022-11-12 11:17:16 -08:00
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
2021-10-15 09:15:30 -07:00
fi
2022-11-12 11:17:16 -08:00
export PATH
2021-10-15 09:15:30 -07:00
2022-11-17 22:04:23 -08:00
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