Skip to content

Commit

Permalink
docs/installation: add to note about interactive/login shells
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Feb 10, 2022
1 parent e285da3 commit 334f072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To achieve this, you can add this snippet in your ``.bash_profile``\ :

.. code-block::
if [[ -f ~/.bashrc ]]; then
if [[ $- == *"i"* && -f ~/.bashrc ]]; then
source ~/.bashrc
fi
Expand Down

0 comments on commit 334f072

Please sign in to comment.