Skip to content

Commit

Permalink
Fix conflict of rbenv and phpenv
Browse files Browse the repository at this point in the history
  • Loading branch information
naokazuterada committed Aug 31, 2018
1 parent ac1b0f1 commit d7ad17b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ export FDK_EXE=$HOME/bin/FDK/Tools/osx
# test -f "$f" && . "$f"
#done

# for rbenv
if which rbenv > /dev/null; then
export RBENV_ROOT=$HOME/.rbenv
export PATH=$PATH:$RBENV_ROOT/shims
eval "$(rbenv init -)"
fi
# for rbenv and phpenv
# export RBENV_ROOT=/usr/local/var/rbenv <= 邪魔になるのでいらない。
export PHPENV_ROOT=$HOME/.phpenv
export PATH="$PATH:$PHPENV_ROOT/bin"
eval "$(rbenv init -)"
eval "$(phpenv init -)"

# WP-CLI Tab completions
# http://wp-cli.org/
Expand Down

0 comments on commit d7ad17b

Please sign in to comment.