]> git.alrj.org Git - zsh.d.git/blobdiff - S10_zshopts
zsh options: enable prompt_cr
[zsh.d.git] / S10_zshopts
index a60363924530ece0e8835430f5521a9a91d241fd..2697a16f3b2d7161281b34d9c1be6962c660af80 100644 (file)
@@ -7,11 +7,19 @@ 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
 typeset -ga chpwd_functions
 
+# use emacs bindings
+bindkey -e
+
 # This must be done very early.
 clear_psvar() {
   psvar=()