-
-
Save kayo-tozaki/f52c01825075cbb5c2829f8c7c2e79fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rbenv init - | |
export PATH="/home/ユーザ名/.rbenv/shims:${PATH}" | |
export RBENV_SHELL=bash | |
source '/usr/local/rbenv/libexec/../completions/rbenv.bash' | |
command rbenv rehash 2>/dev/null | |
rbenv() { | |
local command | |
command="$1" | |
if [ "$#" -gt 0 ]; then | |
shift | |
fi | |
case "$command" in | |
rehash|shell) | |
eval "$(rbenv "sh-$command" "$@")";; | |
*) | |
command rbenv "$command" "$@";; | |
esac | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment