aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index eaa8042..5ab7e27 100644
--- a/.bashrc
+++ b/.bashrc
@@ -9,6 +9,11 @@
# ~/.bashrc
#
+if [[ $- != *i* ]]; then
+ . ~/.profile
+ return
+fi
+
# Get the current active terminal
term="$(cat /proc/$PPID/comm)"