X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;ds=sidebyside;f=.zsh%2Frc%2Fbase%2F00_profiling;fp=.zsh%2Frc%2Fbase%2F00_profiling;h=69dda348de38e5f48d6c4143b6fff824cb367aa9;hb=3d71eab53c5b63556363ece880859b0af7f162da;hp=0000000000000000000000000000000000000000;hpb=1f8b08895681d46802368eec0764ca70d08898ca;p=config-20-100.git diff --git a/.zsh/rc/base/00_profiling b/.zsh/rc/base/00_profiling new file mode 100644 index 0000000..69dda34 --- /dev/null +++ b/.zsh/rc/base/00_profiling @@ -0,0 +1,9 @@ +#!/bin/zsh + +# zsh profiling {{{ +# just execute 'ZSH_PROFILE_RC=1 zsh' and run 'zprof' to get the details +if [[ $ZSH_PROFILE_RC -gt 0 ]] ; then + zmodload zsh/zprof +fi +# }}} +