Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit e433927

Browse files
committed
update rbenv.zsh according to manpage
1 parent b556ed3 commit e433927

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

‎ruby/rbenv.zsh‎

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
1-
# rehash shims
2-
rbenv rehash 2>/dev/null
3-
4-
# shell thing
5-
rbenv() {
6-
command="$1"
7-
if [ "$#" -gt 0 ]; then
8-
shift
9-
fi
10-
11-
case "$command" in
12-
shell)
13-
eval `rbenv "sh-$command" "$@"`;;
14-
*)
15-
command rbenv "$command" "$@";;
16-
esac
17-
}
1+
# init according to man page
2+
eval "$(rbenv init -)"

0 commit comments

Comments
 (0)