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

Re: Feature request: ZSH_XTRACEFD variable



On Sat, May 2, 2020 at 11:03 AM Timothée Mazzucotelli
<timothee.mazzucotelli@xxxxxxxxx> wrote:
>
> How to make sure the file descriptor of a local ZSH_XTRACEFD is closed when
> leaving the function scope?
> Or, how to make sure a local ZSH_XTRACEFD is unset when leaving the
> function scope?

I think you're going to have to declare ZSH_XTRACEFD to be a "special"
variable, with all the extra plumbing that entails.



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