]> git.alrj.org Git - zsh.d.git/blobdiff - S10_zshopts
Set locale.
[zsh.d.git] / S10_zshopts
index d90bec049111d33265bf5a4ba2a4c6da1625eb06..b722e4cbe0b2d4568a1461136ba3420dcb36b446 100644 (file)
@@ -7,11 +7,22 @@ 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
 
+# use emacs bindings
+bindkey -e
+bindkey '\e[1~' beginning-of-line
+
 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
 
 HISTSIZE=10000              # size of history