setopt auto_cd
setopt nobeep
+autoload -U colors
+colors
+setopt prompt_subst
+
typeset -ga preexec_functions
typeset -ga precmd_functions
typeset -ga chpwd_functions
-psvar=()
+
+# use emacs bindings
+bindkey -e
+
+# This must be done very early.
+clear_psvar() {
+ psvar=()
+}
+precmd_functions+='clear_psvar'
[ -w $zsh_cache ] && HISTFILE=$zsh_cache/history