Mercurial > ec-dotfiles
diff setup @ 527:cb4e2a6595ea
Add ksh support.
author | edogawaconan <me@myconan.net> |
---|---|
date | Mon, 15 Sep 2014 14:46:50 +0900 |
parents | bbcffc594d1e |
children | 77c1f9e624a3 |
line wrap: on
line diff
--- a/setup Sat Aug 09 00:24:45 2014 +0900 +++ b/setup Mon Sep 15 14:46:50 2014 +0900 @@ -57,6 +57,15 @@ esac } +_ksh() { + case "${1}" in + uninstall|install) + _rc "${1}" "kshrc" ".ec.ksh" + _init "${1}" '[ -r "${HOME}/.ec.ksh" ] && . "${HOME}/.ec.ksh" #ECCORE_KSH' ".profile" + ;; + esac +} + _zsh() { case "${1}" in uninstall|install) @@ -150,7 +159,9 @@ install|uninstall) _tcsh "${1}" _bash "${1}" + _ksh "${1}" _zsh "${1}" + _rc "${1}" "shellinit-posix" ".ec.shellinit-posix" _rc "${1}" "../bin" ".ecos_bin" _rc "${1}" "gemrc" ".gemrc" _rc "${1}" "gitconfig" ".gitconfig"