Commit 87030f67 authored by Bruno's avatar Bruno

Merge pull request #447 from Bastes/master

FIxing a problem caused by the strange "command command -v rbenv" command
parents edd719c6 fa253c22
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
if [ -e "$RBENV_BIN_ROOT/rbenv" ] if [ -e "$RBENV_BIN_ROOT/rbenv" ]
set rbenv_binary "$RBENV_BIN_ROOT/rbenv" set rbenv_binary "$RBENV_BIN_ROOT/rbenv"
_prepend_path "$RBENV_BIN_ROOT" _prepend_path "$RBENV_BIN_ROOT"
else if [ (command command -v rbenv) ] else if [ (which command; and command command -v rbenv) ]
set rbenv_binary (command command -v rbenv) set rbenv_binary (command command -v rbenv)
else if [ -e "$HOME/.rbenv/bin/rbenv" ] else if [ -e "$HOME/.rbenv/bin/rbenv" ]
set rbenv_binary "$HOME/.rbenv/bin/rbenv" set rbenv_binary "$HOME/.rbenv/bin/rbenv"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment