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 12, 2022
1 parent 619e1b0 commit 7fd8deb
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 7fd8deb

Please sign in to comment.