Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / third_party / Python / module / pexpect-4.6 / pexpect / bashrc.sh
blobc734ac90b8528e3222a1f84d89962abadc6a8568
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
12 # Reset PS1 so pexpect can find it
13 PS1="$"
15 # Unset PROMPT_COMMAND, so that it can't change PS1 to something unexpected.
16 unset PROMPT_COMMAND