diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-17 20:15:17 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-17 20:18:27 +1200 |
commit | 1d5845eed2d9450c84ca046749c73ebde2bdfafb (patch) | |
tree | 5d5dcf948b94f67679fbc26ce273aecc6b5d03dc /sh/shrc.d/ksh.sh | |
parent | Simplify end-of-file loop in bashrc (diff) | |
download | dotfiles-1d5845eed2d9450c84ca046749c73ebde2bdfafb.tar.gz dotfiles-1d5845eed2d9450c84ca046749c73ebde2bdfafb.zip |
Explain ksh.sh a bit more
Diffstat (limited to 'sh/shrc.d/ksh.sh')
-rw-r--r-- | sh/shrc.d/ksh.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/shrc.d/ksh.sh b/sh/shrc.d/ksh.sh index e95e6d3f..f1245e76 100644 --- a/sh/shrc.d/ksh.sh +++ b/sh/shrc.d/ksh.sh @@ -1,5 +1,7 @@ # If we're running some kind of ksh, we'll need to source its specific -# configuration if it was defined or if we can find it +# 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 '*) [ -f "${KSH_ENV:-"$HOME"/.pdkshrc}" ] || return |