You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-37Lines changed: 34 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ python setup.py install
100
100
101
101
### Bash
102
102
103
-
Add the following to your `.bashrc`(or `.profile` on Mac):
103
+
Add the following to your `.bashrc`file:
104
104
105
105
```
106
106
function _update_ps1() {
@@ -112,6 +112,8 @@ if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
112
112
fi
113
113
```
114
114
115
+
**Note:** On macOS, you must add this to one of `.bash_profile`, `.bash_login`, or `.profile`. macOS will execute the files in the aforementioned order and will stop execution at the first file it finds. For more information on the order of precedence, see the section **INVOCATION** in `man bash`.
0 commit comments