瀏覽代碼

iterate over all matching plugins, not just the first

pull/360/head^2
Jamis Buck 15 年之前
父節點
當前提交
5d8c40444d
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      libexec/rbenv-exec
  2. +1
    -1
      libexec/rbenv-rehash
  3. +1
    -1
      libexec/rbenv-which

+ 1
- 1
libexec/rbenv-exec 查看文件

@ -12,7 +12,7 @@ shopt -s nullglob
RBENV_EXEC_PLUGINS=(/etc/rbenv.d/exec/*.bash ${HOME}/.rbenv/rbenv.d/exec/*.bash)
shopt -u nullglob
for script in $RBENV_EXEC_PLUGINS; do
for script in ${RBENV_EXEC_PLUGINS[@]}; do
source $script
done

+ 1
- 1
libexec/rbenv-rehash 查看文件

@ -23,6 +23,6 @@ shopt -s nullglob
RBENV_REHASH_PLUGINS=(/etc/rbenv.d/rehash/*.bash ${HOME}/.rbenv/rbenv.d/rehash/*.bash)
shopt -u nullglob
for script in $RBENV_REHASH_PLUGINS; do
for script in ${RBENV_REHASH_PLUGINS[@]}; do
source $script
done

+ 1
- 1
libexec/rbenv-which 查看文件

@ -8,7 +8,7 @@ shopt -s nullglob
RBENV_WHICH_PLUGINS=(/etc/rbenv.d/which/*.bash ${HOME}/.rbenv/rbenv.d/which/*.bash)
shopt -u nullglob
for script in $RBENV_WHICH_PLUGINS; do
for script in ${RBENV_WHICH_PLUGINS[@]}; do
source $script
done

Loading…
取消
儲存