diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc.d/ksh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/ksh.sh b/sh/shrc.d/ksh.sh index 9cb72e8e..5e9fee3b 100644 --- a/sh/shrc.d/ksh.sh +++ b/sh/shrc.d/ksh.sh @@ -2,7 +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. -[ -n "$KSH_VERSION" ] || return +[ -n "$KSH_VERSION" ] || [ -n "${.sh.version}" ] || return [ -n "$KSH_ENV" ] || KSH_ENV=$HOME/.kshrc [ -f "$KSH_ENV" ] || return . "$KSH_ENV" |