aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/ksh.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/profile.d/ksh.sh b/sh/profile.d/ksh.sh
new file mode 100644
index 00000000..541da0d6
--- /dev/null
+++ b/sh/profile.d/ksh.sh
@@ -0,0 +1,5 @@
+# If we're running some kind of ksh, export ENV to find ~/.kshrc
+if [ -n "$KSH_VERSION" ] ; then
+ ENV=$HOME/.kshrc
+ export ENV
+fi