aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/shrc.d/ksh.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/shrc.d/ksh.sh b/sh/shrc.d/ksh.sh
index b12f13c8..046cd6c4 100644
--- a/sh/shrc.d/ksh.sh
+++ b/sh/shrc.d/ksh.sh
@@ -4,7 +4,7 @@
# does it the other way around.
case $KSH_VERSION in
*'PD KSH '*|*'MIRBSD KSH '*)
- [ -f "${KSH_ENV:-"$HOME"/.pdkshrc}" ] || return
- . "${KSH_ENV:-"$HOME"/.pdkshrc}"
+ [ -f "${KSH_ENV:="$HOME"/.pdkshrc}" ] || return
+ . "$KSH_ENV"
;;
esac