aboutsummaryrefslogtreecommitdiff
path: root/bashrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc.dot.link')
-rw-r--r--bashrc.dot.link6
1 files changed, 6 insertions, 0 deletions
diff --git a/bashrc.dot.link b/bashrc.dot.link
index ab85f71..6a0b7f9 100644
--- a/bashrc.dot.link
+++ b/bashrc.dot.link
@@ -2,5 +2,11 @@
# Bash initialization
#
+# If not running interactively, don't do anything
+case $- in
+ *i*) ;;
+ *) return;;
+esac
+
# Load the profile
. $HOME/.profile