mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
f4faa2e812
`RBENV_ROOT` can be used to relocate where rbenv ends up storing the shims and versions of Ruby it installs. Because of this split `RBENV_ROOT` cannot be used to reliably construct a path to the rbenv binary itself. Instead we now rely on `$RBENV_BIN_ROOT` pointing to the `bin/` directory containing the rbenv binary/script. If `$RBENV_BIN_ROOT` is not set we search `$PATH` first and then the user's home directory making sure to prepend the necessary directories to our `$PATH` depending on where we find rbenv. Lastly we prepend to our `$PATH` the location rbenv's `shims/` so that we can find the shims rbenv generates for us. |
||
---|---|---|
.. | ||
rbenv.fish | ||
rbenv.load |