瀏覽代碼

Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.

pull/1133/head
Ryan Davis 7 年之前
父節點
當前提交
1a8b5e04a9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      libexec/rbenv-init

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

@ -138,7 +138,7 @@ esac
if [ "$shell" != "fish" ]; then
IFS="|"
cat <<EOS
command="\$1"
command="\${1:-}"
if [ "\$#" -gt 0 ]; then
shift
fi

Loading…
取消
儲存