From 700ac112a3dd2041de5fc2a6abd3781103c704a8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 17 Dec 2016 17:46:15 +1300 Subject: Rename all pdksh stuff to ksh As part of a foray into more active use of ksh and derivatives. --- sh/shrc.d/ksh.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sh') diff --git a/sh/shrc.d/ksh.sh b/sh/shrc.d/ksh.sh index 046cd6c4..9cb72e8e 100644 --- a/sh/shrc.d/ksh.sh +++ b/sh/shrc.d/ksh.sh @@ -2,9 +2,7 @@ # configuration if it was defined or if we can find it. Bash and Zsh invoke # their own rc files first, which I've written to then look for ~/.shrc; ksh # does it the other way around. -case $KSH_VERSION in - *'PD KSH '*|*'MIRBSD KSH '*) - [ -f "${KSH_ENV:="$HOME"/.pdkshrc}" ] || return - . "$KSH_ENV" - ;; -esac +[ -n "$KSH_VERSION" ] || return +[ -n "$KSH_ENV" ] || KSH_ENV=$HOME/.kshrc +[ -f "$KSH_ENV" ] || return +. "$KSH_ENV" -- cgit v1.2.3