mirror of
https://github.com/rbenv/rbenv.git
synced 2025-01-01 14:45:03 +01:00
Fixed rbenv init -
output to work w/ no args and bash's set -u
.
This commit is contained in:
parent
2d7cefe782
commit
1a8b5e04a9
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ esac
|
||||||
if [ "$shell" != "fish" ]; then
|
if [ "$shell" != "fish" ]; then
|
||||||
IFS="|"
|
IFS="|"
|
||||||
cat <<EOS
|
cat <<EOS
|
||||||
command="\$1"
|
command="\${1:-}"
|
||||||
if [ "\$#" -gt 0 ]; then
|
if [ "\$#" -gt 0 ]; then
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue