mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-21 01:40:40 +08:00

By default, `typeset` defines variables locally unless in the main scope. This is specially bad when using `omz plugin load`, which happens inside a function, so the declared variables don't continue being defined when the function finishes and the main scope reappears.