Skip to content

Commit

Permalink
Don't source bash startup files meant for login shells
Browse files Browse the repository at this point in the history
  • Loading branch information
russelldavis committed Mar 20, 2024
1 parent 9db5bee commit 4890399
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions shell/shellIntegration.bash
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
if [ -r ~/.bashrc ]; then
. ~/.bashrc
fi
if [ -r /etc/profile ]; then
. /etc/profile
fi
if [ -r ~/.bash_profile ]; then
. ~/.bash_profile
elif [ -r ~/.bash_login ]; then
. ~/.bash_login
elif [ -r ~/.profile ]; then
. ~/.profile
fi

if [ -r ~/.inshellisense/bash-preexec.sh ]; then
. ~/.inshellisense/bash-preexec.sh
Expand Down

0 comments on commit 4890399

Please sign in to comment.