mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-04 20:02:12 +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.