18 lines
415 B
Bash
18 lines
415 B
Bash
|
export SHELL_CONFIG="$SHELL_CONFIG:.bashrc"
|
||
|
#
|
||
|
# ~/.bashrc
|
||
|
#
|
||
|
|
||
|
# If not running interactively, don't do anything
|
||
|
[[ $- != *i* ]] && return
|
||
|
|
||
|
export HISTCONTROL=ignoreboth:erasedups
|
||
|
|
||
|
PS1='[\u@\h \W]\$ '
|
||
|
|
||
|
source ~/.profile
|
||
|
|
||
|
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
|