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-35Lines changed: 34 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ python setup.py install
98
98
99
99
### Bash
100
100
101
-
Add the following to your `.bashrc`(or `.profile` on Mac):
101
+
Add the following to your `.bashrc`file:
102
102
103
103
```
104
104
function _update_ps1() {
@@ -110,6 +110,8 @@ if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
110
110
fi
111
111
```
112
112
113
+
**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