From cfe1c37d2691773b62c25232e52272480ac67f49 Mon Sep 17 00:00:00 2001 From: Kevin Schoedel Date: Sat, 13 May 2023 12:56:22 -0400 Subject: [PATCH] Add explanatory comment, and remove obsolete versions --- libexec/rbenv-init | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index e4b487e..7b944d2 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -62,7 +62,12 @@ if [ -z "$print" ]; then zsh ) 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' ;; fish ) @@ -144,7 +149,7 @@ function rbenv end EOS ;; -ksh | ksh93 | ksh88 | pdksh | mksh ) +ksh | ksh93 | mksh ) cat <