summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-08 09:13:11 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-08 10:03:49 -0700
commit623bbd5062ef362dd2a9bfb860d4705430a1e312 (patch)
treeb7c3c9ea6b2f109fd7e4e2038500891be6b6b480 /.bash_profile
parentc32075f1f6e8540fa043e33fff84a982d6e44a2d (diff)
downloaddotfiles-623bbd5062ef362dd2a9bfb860d4705430a1e312.tar.gz
don't source .bashrc for non-interactive login shells
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile2
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