Add explanatory comment, and remove obsolete versions

This commit is contained in:
Kevin Schoedel 2023-05-13 12:56:22 -04:00
parent e390b228c8
commit cfe1c37d26

View file

@ -62,7 +62,12 @@ if [ -z "$print" ]; then
zsh ) zsh )
profile='~/.zshrc' profile='~/.zshrc'
;; ;;
ksh | ksh93 | ksh88 | pdksh | mksh ) ksh | ksh93 | mksh )
# There are two implementations of Korn shell: AT&T (ksh93) and Mir (mksh).
# Systems may have them installed under those names, or as ksh, so those
# are recognized here. The obsolete ksh88 (subsumed by ksh93) and pdksh
# (subsumed by mksh) are not included, since they are unlikely to still
# be in use as interactive shells anywhere.
profile='~/.profile' profile='~/.profile'
;; ;;
fish ) fish )
@ -144,7 +149,7 @@ function rbenv
end end
EOS EOS
;; ;;
ksh | ksh93 | ksh88 | pdksh | mksh ) ksh | ksh93 | mksh )
cat <<EOS cat <<EOS
function rbenv { function rbenv {
typeset command typeset command