commit | 7135873f800f07327a366016320838dba49036c3 | [log] [tgz] |
---|---|---|
author | Jonas Dohse <jonas@mbr-targeting.com> | Mon Feb 15 12:49:56 2016 +0100 |
committer | Jonas Dohse <jonas@mbr-targeting.com> | Mon Feb 15 17:49:46 2016 +0100 |
tree | c480a5be5e7d5583a26a04ee745076ad7371a2af | |
parent | dc9020b13347c23fd59669049c4596a94bdae683 [diff] |
Do not modify parameters of sourcing script in zsh When sourcing a script without parameters in zsh the sourced scripts gets the same parameters as the sourcing file and is able to modify these parameters. Prevent nvm from removing all parameters of sourcing script by processing a copy of the parameters in a function.