mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Use RBENV_ROOT to search for rbenv-exec plugins
This commit is contained in:
parent
7ac964353f
commit
8f6b0bc1d4
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ RBENV_COMMAND_PATH="$(rbenv-which "$RBENV_COMMAND")"
|
||||||
RBENV_BIN_PATH="${RBENV_COMMAND_PATH%/*}"
|
RBENV_BIN_PATH="${RBENV_COMMAND_PATH%/*}"
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${HOME}/.rbenv/rbenv.d/exec/*.bash)
|
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${RBENV_ROOT}/rbenv.d/exec/*.bash)
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
|
|
||||||
for script in ${RBENV_EXEC_PLUGINS[@]}; do
|
for script in ${RBENV_EXEC_PLUGINS[@]}; do
|
||||||
|
|
Loading…
Reference in a new issue