1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 07:43:46 -05:00

Merge pull request #1504 from kpschoedel/ksh-versions

Support ksh versions
This commit is contained in:
Mislav Marohnić
2023-06-21 12:06:55 +02:00
committed by GitHub

View File

@@ -62,7 +62,12 @@ if [ -z "$print" ]; then
zsh ) zsh )
profile='~/.zshrc' profile='~/.zshrc'
;; ;;
ksh ) 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 ) ksh | ksh93 | mksh )
cat <<EOS cat <<EOS
function rbenv { function rbenv {
typeset command typeset command