mirror of
https://github.com/rbenv/rbenv.git
synced 2024-12-29 13:15:42 +01:00
Merge pull request #1504 from kpschoedel/ksh-versions
Support ksh versions
This commit is contained in:
commit
3112172081
1 changed files with 7 additions and 2 deletions
|
@ -62,7 +62,12 @@ if [ -z "$print" ]; then
|
|||
zsh )
|
||||
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'
|
||||
;;
|
||||
fish )
|
||||
|
@ -144,7 +149,7 @@ function rbenv
|
|||
end
|
||||
EOS
|
||||
;;
|
||||
ksh )
|
||||
ksh | ksh93 | mksh )
|
||||
cat <<EOS
|
||||
function rbenv {
|
||||
typeset command
|
||||
|
|
Loading…
Reference in a new issue