From 426d88757aae89d1aa1922a93213e4fed2596456 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 18 Dec 2016 12:24:31 +1300 Subject: Undo strange default for login ksh93 ENV I haven't yet figured out why it does this --- ksh/profile.d/ksh.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ksh/profile.d/ksh.sh (limited to 'ksh') diff --git a/ksh/profile.d/ksh.sh b/ksh/profile.d/ksh.sh new file mode 100644 index 00000000..61626b1a --- /dev/null +++ b/ksh/profile.d/ksh.sh @@ -0,0 +1,6 @@ +# If ksh93 as a login shell decided to give ENV a bizarre value, quietly shunt +# it out of the way. This is probably not how I'm supposed to do this, but I +# can't find documentation as to why ksh93 chooses this value. +case $ENV in + .sh.ENV) [ -f "$ENV" ] || unset ENV ;; +esac -- cgit v1.2.3