aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-17 19:59:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-17 19:59:43 +1200
commit81f58a57443236b0ef341c050780d73d566e8496 (patch)
tree5ba6f62e6739531f49603e57fb1dd2bf0bc0c74b /sh/profile.d
parentHandle setting ENV from ~/.profile (diff)
downloaddotfiles-81f58a57443236b0ef341c050780d73d566e8496.tar.gz
dotfiles-81f58a57443236b0ef341c050780d73d566e8496.zip
Move ksh ENV handling into shrc.d
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/env.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/sh/profile.d/env.sh b/sh/profile.d/env.sh
deleted file mode 100644
index f1b83919..00000000
--- a/sh/profile.d/env.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-# If we're running some kind of ksh, export ENV to find a suitable startup
-# file. Bash differs considerably from this behaviour; it uses ENV as its
-# startup file when it's invoked as sh(1), and uses .bashrc or --rcfile as its
-# interactive startup file, so it doesn't need to be specified here.
-case $KSH_VERSION in
- *'PD KSH '*) ENV=$HOME/.pdkshrc ;;
-esac
-if [ -n "$ENV" ] ; then
- export ENV
-fi