Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Set -x for scripts globally / recursively
- X-seq: zsh-users 26823
- From: Zach Riggle <zachriggle@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Set -x for scripts globally / recursively
- Date: Fri, 30 Jul 2021 12:39:19 -0500
- Archived-at: <https://zsh.org/users/26823>
- List-id: <zsh-users.zsh.org>
Hello all!
Is there any way to cause the "-x" / xtrace flag to be passed into
sub-scripts without doing so explicitly? I expect there's an
environment variable that might be able to do this, but I'm not sure.
My issue is that I want to trace e.g. ./foo which invokes ./bar which
then invokes ./baz, where all three are Zsh scripts -- and I want them
all to be traced.
I spent some time in the docs (searching for "environment" in the PDF
copy) but I didn't find anything, unfortunately.
Thanks for your help!
Zach Riggle
Messages sorted by:
Reverse Date,
Date,
Thread,
Author