]> git.alrj.org Git - zsh.d.git/blobdiff - S10_zshopts
Load "zargs".
[zsh.d.git] / S10_zshopts
index a60363924530ece0e8835430f5521a9a91d241fd..a8f79c3a5b66771a29fcc3b1eb9409950ab5e265 100644 (file)
@@ -7,17 +7,20 @@ fi
 
 setopt auto_cd
 setopt nobeep
+setopt prompt_cr            # Newline before prompt when needed
+
+autoload -U colors
+colors
+setopt prompt_subst
+
+autoload -U zargs
 
 typeset -ga preexec_functions
 typeset -ga precmd_functions
 typeset -ga chpwd_functions
 
-# This must be done very early.
-clear_psvar() {
-  psvar=()
-}
-precmd_functions+='clear_psvar'
-
+# use emacs bindings
+bindkey -e
 
 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history