]> git.alrj.org Git - zsh.d.git/blobdiff - S10_zshopts
Comment update
[zsh.d.git] / S10_zshopts
index e382cfc65d7f24b7652c5f8763d095ac25bc4e76..36840e29ade5b8684025cf0347ad0f131597cf8e 100644 (file)
@@ -7,6 +7,11 @@ fi
 
 setopt auto_cd
 setopt nobeep
+setopt prompt_cr            # Newline before prompt when needed
+
+autoload -U colors
+colors
+setopt prompt_subst
 
 typeset -ga preexec_functions
 typeset -ga precmd_functions
@@ -15,13 +20,6 @@ typeset -ga chpwd_functions
 # 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
 
 HISTSIZE=10000              # size of history