Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: verbose shell execution
- X-seq: zsh-users 12369
- From: "William Scott" <wgscott@xxxxxxxxxxxxxxxxxx>
- To: "Toshiro Viera Stalker" <toshiro@xxxxxxxxxxxxxxx>
- Subject: Re: verbose shell execution
- Date: Wed, 26 Dec 2007 13:53:24 -0800 (PST)
- Cc: zsh-users@xxxxxxxxxx
- Importance: Normal
- In-reply-to: <200712261931.30889.toshiro@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200712261931.30889.toshiro@xxxxxxxxxxxxxxx>
Just put set -x at the top of /etc/zshenv, which I think is the first
thing that would get executed. Then I think you can put set +x wherever
you want it to stop.
Toshiro Viera Stalker wrote:
> Is it possible to see the execution of all the different files involved in
> a
> login shell? (like .zshrc, /etc/zshenv, etc).
>
> I want to obtain something similar to the output obtained when you
> execute 'sh -x shell-script.sh'
>
> Regards,
>
> --
> Toshiro
> http://www.perlhowto.com
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author