mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #168 from mgrubb/topic/portability-fixes
Made ksh portability changes
This commit is contained in:
commit
802d70568c
1 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,9 @@ if [ -z "$print" ]; then
|
||||||
zsh )
|
zsh )
|
||||||
profile='~/.zshrc'
|
profile='~/.zshrc'
|
||||||
;;
|
;;
|
||||||
|
ksh )
|
||||||
|
profile='~/.profile'
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
profile='your profile'
|
profile='your profile'
|
||||||
;;
|
;;
|
||||||
|
@ -71,7 +74,7 @@ echo 'rbenv rehash 2>/dev/null'
|
||||||
commands=(`rbenv commands --sh`)
|
commands=(`rbenv commands --sh`)
|
||||||
IFS="|"
|
IFS="|"
|
||||||
cat <<EOS
|
cat <<EOS
|
||||||
function rbenv() {
|
function rbenv {
|
||||||
command="\$1"
|
command="\$1"
|
||||||
if [ "\$#" -gt 0 ]; then
|
if [ "\$#" -gt 0 ]; then
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Reference in a new issue