bashrc 528 B

12345678910111213141516171819
  1. # Default bashrc file
  2. DOTFILES=/home/cmte/.dotfiles/bash
  3. # Set bash-completion
  4. if ! shopt -oq posix; then
  5. if [ -f /usr/share/bash-completion/bash_completion ]; then
  6. . /usr/share/bash-completion/bash_completion
  7. elif [ -f /etc/bash_completion ]; then
  8. . /etc/bash_completion
  9. fi
  10. fi
  11. # Set PS1 variable
  12. export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]"
  13. # Read configurations
  14. [ -f $DOTFILES/aliases ] && . $DOTFILES/aliases
  15. [ -f $DOTFILES/paths ] && . $DOTFILES/paths
  16. [ -f $DOTFILES/environment ] && . $DOTFILES/environment