mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 22:52:27 +00:00
Merge pull request #959 from zenspider/fix-dash-u
Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.
This commit is contained in:
commit
eab68688dc
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ esac
|
|||
if [ "$shell" != "fish" ]; then
|
||||
IFS="|"
|
||||
cat <<EOS
|
||||
command="\$1"
|
||||
command="\${1:-}"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue