aboutsummaryrefslogtreecommitdiff
path: root/sh/shinit
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shinit')
-rw-r--r--sh/shinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/shinit b/sh/shinit
new file mode 100644
index 00000000..fe770a70
--- /dev/null
+++ b/sh/shinit
@@ -0,0 +1,4 @@
+# If the shell is interactive, source ~/.shrc
+case $- in *i*)
+ [ -f "$HOME"/.shrc ] && . "$HOME"/.shrc ;;
+esac