aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/profile b/sh/profile
index e9e974e0..e190d6ba 100644
--- a/sh/profile
+++ b/sh/profile
@@ -9,3 +9,8 @@ for profile in "$HOME"/.profile.d/*.sh ; do
. "$profile"
done
unset -v profile
+
+# If the shell is interactive, and ~/.shrc exists, source that too
+case $- in
+ *i*) [ -f "$HOME"/.shrc ] && . "$HOME"/.shrc ;;
+esac