diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-08 09:13:11 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-08 10:03:49 -0700 |
commit | 623bbd5062ef362dd2a9bfb860d4705430a1e312 (patch) | |
tree | b7c3c9ea6b2f109fd7e4e2038500891be6b6b480 /.bash_profile | |
parent | c32075f1f6e8540fa043e33fff84a982d6e44a2d (diff) | |
download | dotfiles-623bbd5062ef362dd2a9bfb860d4705430a1e312.tar.gz |
don't source .bashrc for non-interactive login shells
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 8dd976b3..ceced290 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,2 +1,2 @@ . ~/.profile -. ~/.bashrc +[[ $- == *i* ]] && . ~/.bashrc |