Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zshrc alias
- X-seq: zsh-users 18015
- From: shawn wilson <ag4ve.us@xxxxxxxxx>
- To: shawn wilson <ag4ve.us@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: zshrc alias
- Date: Wed, 2 Oct 2013 18:27:59 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vpWd7/MDXdViBg0NBZyR1iCUioWZpu9cGOUwnxvcn40=; b=P7OU1M8OkE+eyPNge08K/ZLKKnIb1beammNmUDAxR3zd3p0e+qkMfroNwfOvJGwBMg TS7TDjC9gAr5GpVSpXos8kzwqFO1vjcwBxkF3rDL39mccKuQ3b329/Yt44Z+ahvWtkXl xukB3F9TWl+8QvXWFrmu5t6Hb86CC0KiLAdeJhkPzoj9vK6oNtNaN01DVnZupIVKGXew VKnVwrim3mqDkBZCItqG//TsZGlVV/23B9Ay3TRhIrBW9ZCDsGXjdFaTPoHfvUTeudyR XKOvQPjmscoOoQDbnxwRbf+Q9/vvf/nRtAcxfs2N2YXJKy0EuYUdBp2hRRcOkb9sb1rg nYlg==
- In-reply-to: <20131002221946.GA42077@redoubt.spodhuis.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAH_OBiektUO2yU74bwSyqi0CSsX1KLbODGugnxpL_RqAtr2h9Q@mail.gmail.com> <20131002221946.GA42077@redoubt.spodhuis.org>
Very cool. Thanks.
On Wed, Oct 2, 2013 at 6:19 PM, Phil Pennock
<zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:
> On 2013-10-02 at 15:37 -0400, shawn wilson wrote:
>> Is there a way to see what zsh is doing when it loads the rc file?
>
> I keep this at the top of my .zshenv file and uncomment the first line
> when I want to debug something:
>
> ----------------------------8< cut here >8------------------------------
> #TRACE_ZSH_TIME=t TRACE_ZSH=t TRACE_ZSH_FILE=/tmp/pdp-zsh.$$.log
>
> [[ -n $TRACE_ZSH_PROF ]] && zmodload -i zsh/zprof
> [[ -n $TRACE_ZSH_TIME ]] && PS4='+[%D{%M:%S}]%N:%i> '
> if [[ -n $TRACE_ZSH ]]; then
> [[ -n "$TRACE_ZSH_FILE" ]] && exec 2> "${TRACE_ZSH_FILE}"
> setopt xtrace
> fi
> ----------------------------8< cut here >8------------------------------
>
> Yes, you lose stderr to a file, I can accept that for the purpose of
> this debugging.
>
> -Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author