You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
412 B
20 lines
412 B
export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/plugins/ruby-build/bin:$HOME/.rbenv/bin:${PATH}"
|
|
export RBENV_SHELL=zsh
|
|
source "$HOME/.rbenv/completions/rbenv.zsh"
|
|
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
|
|
}
|
|
# vim: ft=zsh :
|