Skip to content

Commit 7fd8deb

Browse files
committed
docs/installation: add to note about interactive/login shells
1 parent 619e1b0 commit 7fd8deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To achieve this, you can add this snippet in your ``.bash_profile``\ :
3434

3535
.. code-block::
3636
37-
if [[ -f ~/.bashrc ]]; then
37+
if [[ $- == *"i"* && -f ~/.bashrc ]]; then
3838
source ~/.bashrc
3939
fi
4040

0 commit comments

Comments
 (0)