12345678910111213141516171819 |
- # Default bashrc file
- DOTFILES=/home/cmte/.dotfiles/bash
- # Set bash-completion
- if ! shopt -oq posix; then
- if [ -f /usr/share/bash-completion/bash_completion ]; then
- . /usr/share/bash-completion/bash_completion
- elif [ -f /etc/bash_completion ]; then
- . /etc/bash_completion
- fi
- fi
- # Set PS1 variable
- export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]"
- # Read configurations
- [ -f $DOTFILES/aliases ] && . $DOTFILES/aliases
- [ -f $DOTFILES/paths ] && . $DOTFILES/paths
- [ -f $DOTFILES/environment ] && . $DOTFILES/environment
|