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

This commit is contained in:
Ryan Davis 2017-01-01 22:06:39 -08:00
parent 2d7cefe782
commit 1a8b5e04a9

View file

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