mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-06-03 22:04:31 +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.