aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index c5fbadd..064da17 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,3 +1,8 @@
+if [[ $- != *i* ]] ; then
+ # Shell is non-interactive, don't do anything.
+ return
+fi
+
[ $DEBUG_DOTFILES ] && echo "Loading .bashrc"
# Load initialization