Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Private variables not private enough? (Was: Get cursor position (Was: [bug report] prompt can erase messages written on the terminal by background processes))



On Sat, Dec 10, 2022 at 9:36 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Despite the apparent mnemonic, the only effect of [typeset] -g is
> to skip the current scope before selecting the enclosing dynamic
> scope.

To clarify, the chosen dynamic scope is the closest one in which the
parameter name already exists, or the global scope if the parameter
name is not present in any other scope.




Messages sorted by: Reverse Date, Date, Thread, Author