Kaynağa Gözat
Merge pull request #959 from zenspider/fix-dash-u
Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.
pull/1133/head
Mislav Marohnić
8 yıl önce
işlemeyi yapan:
GitHub
ebeveyn
işleme
eab68688dc
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
1 ekleme ve
1 silme
-
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 |
|
|
|
|