From 730098c9a3ba79e14cad198a5ee2414013b2ab68 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 8 Jul 2011 13:51:31 -0700 Subject: [PATCH] Adding zsh profiling --- .zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.zshrc b/.zshrc index 6873326..c097368 100644 --- a/.zshrc +++ b/.zshrc @@ -1,3 +1,9 @@ +## Profiling options +#PS4='+$(date "+%s:%N") %N:%i> ' +#exec 3>&2 2>/tmp/zsh-startlog.$$ +#setopt prompt_subst +#setopt xtrace + typeset -ga preexec_functions typeset -ga precmd_functions typeset -ga chpwd_functions @@ -352,3 +358,7 @@ ex () { echo "'$1' is not a valid file!" fi } + +## Profiling options +#unsetopt xtrace +#exec 2>&3 3>&-