Prevent $command from leaking outside of function
This commit is contained in:
parent
e899f1d31c
commit
9c43fa9161
@ -86,7 +86,7 @@ commands=(`rbenv commands --sh`)
|
||||
IFS="|"
|
||||
cat <<EOS
|
||||
rbenv() {
|
||||
command="\$1"
|
||||
local command="\$1"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user