瀏覽代碼

Merge pull request #836 from eagletmt/fix-path

Remove leading `:`
pull/504/head^2
Mislav Marohnić 8 年之前
父節點
當前提交
dc23ef10b6
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      libexec/rbenv-which

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

@ -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"

Loading…
取消
儲存