## Do you want to have zsh compile your startup files?
## It may make it faster. It may make it slower. Check yourself.
## This uses zrecompile, so changed files are automagically detected
-zstyle ':ganneff:config' zrecompile false
+# zstyle ':ganneff:config' zrecompile false
## The two variables COLORS and LINEDRAW, by default, are set according
## to the capabilities of your terminal. COLORS if it supports colors
## The format of process time reports with the time builtin.
# zstyle ':ganneff:config' TIMEFMT "%J %U user %S system %P cpu %*E total | Mem: %M kb max"
+## Report time statistics if command runs longer than 30 seconds
+## (combined user/system execution times)
+# zstyle ':ganneff:config' REPORTTIME 30
+
## Preferred list of locales to set. The first found is taken, you
## should end with C in case there is no locale configured.
#zstyle ':ganneff:config' locales "LANG de_DE.utf8 en_GB.utf8 C.UTF-8 C" \
## Want to have a fortune at zsh start?
# zstyle ':ganneff:config' fortune true
+## Want to see how long it (roughly) took to load?
+# zstyle ':ganneff:config' starttime false
+
+## Should we use lessfile or lesspipe (if installed)?
+## Difference is in the handling, see the manpages for details, but
+## one of them uses pipes and one files to hand their output to less.
+## Which results in one of them having you waiting until they are finished,
+## while the other shows you results fast - but then doesn't let less show
+## you how far (in %) you are in the output.
+## Defaults to lesspipe
+# zstyle ':ganneff:config' lesstool lesspipe
+
+# We have a little function "path". Call that and it displays your path
+# variable nicely colored. Call it with argument (say, fpath) and it does
+# it for that path. Define the colors and elements to style in this array
+# (or live with defaults).
+# Actually it can be used for any array, just set the pcolor style with the
+# right matches and the color for it...
+# zstyle ':ganneff:config' pcolor /usr green \
+# /bin blue \
+# /opt cyan \
+# /sbin magenta \
+# /local yellow \
+# /zsh white
+
+
########################################################################
### Prompt setup ###
## use vcs_info in prompt
# zstyle ':vcs_info:*' actionformats "(${PR_YELLOW}%s${PR_NO_COLOR})-[${PR_GREEN}%b${PR_NO_COLOR}-${PR_RED}(%a)${PR_NO_COLOR}]%m%u%c "
# zstyle ':vcs_info:*' disable cdv darcs mtn tla hg fossil p4
+## Similar to the zbell function included, this lets the prompt do it.
+## That way one can not forget to activate it. But as one might not want
+## it each and every time when a command runs a little longer, the
+## timeout here should be really high. I recommend something like 300 or
+## 600. Set it to 0 to turn this feature off entirely, default is 600
+# zstyle ':prompt:ganneff' longbell 600
+
+## The following list of commands is ignored, no bell is output if it
+## runs too long. $EDITOR, $PAGER, man and maybe ssh might be good
+## candidates and as such are the default. If you put variables here,
+## we will additionally expand them at prompt setup time and so keep
+## both, the variable itself as well as the expanded command ignored.
+# zstyle ':prompt:ganneff' bell_ignore '$EDITOR' '$PAGER' sleep man ssh zsh
+
## Use color in prompt.
## COLORS is defined as true/false in 01_Terminfo.zsh depending on
## capabilities of the terminal. If unset then defined by those.