Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 00de143

Browse files
committedFeb 8, 2022
docs/installation: add to note about interactive/login shells
1 parent 3a760c0 commit 00de143

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)
Please sign in to comment.