diff --git a/libexec/pyenv-init b/libexec/pyenv-init index 8bc8bc36..c1e0da7b 100755 --- a/libexec/pyenv-init +++ b/libexec/pyenv-init @@ -109,7 +109,12 @@ function detect_profile() { profile='~/.zprofile' rc='~/.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' rc='~/.profile' ;; @@ -269,7 +274,7 @@ function pyenv end EOS ;; - ksh ) + ksh | ksh93 | mksh ) cat <