Merge pull request #836 from eagletmt/fix-path

Remove leading `:`
This commit is contained in:
Mislav Marohnić 2015-12-12 15:22:36 +01:00
commit dc23ef10b6

View file

@ -23,7 +23,8 @@ remove_from_path() {
path_before="$result"
result="${result//:$path_to_remove:/:}"
done
echo "${result%:}"
result="${result%:}"
echo "${result#:}"
}
RBENV_COMMAND="$1"