You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
380 B

4 years ago
  1. # Different platforms have different names for the systemwide bashrc
  2. if [[ -f /etc/bashrc ]]; then
  3. source /etc/bashrc
  4. fi
  5. if [[ -f /etc/bash.bashrc ]]; then
  6. source /etc/bash.bashrc
  7. fi
  8. if [[ -f ~/.bashrc ]]; then
  9. source ~/.bashrc
  10. fi
  11. # Reset PS1 so pexpect can find it
  12. PS1="$"
  13. # Unset PROMPT_COMMAND, so that it can't change PS1 to something unexpected.
  14. unset PROMPT_COMMAND