]> git.alrj.org Git - zsh.d.git/blobdiff - S10_zshopts
Add a wrapper for mc to stay in current directory upon exit
[zsh.d.git] / S10_zshopts
index c4c3b6c4281d5d570e2a6609b550b34953e8a7e7..7da5e3fcb50880c6fe5feb77d5a3d3d7811cb722 100644 (file)
@@ -7,24 +7,24 @@ fi
 
 setopt auto_cd
 setopt nobeep
+setopt prompt_cr            # Newline before prompt when needed
 
 autoload -U colors
 colors
 setopt prompt_subst
 
+# Don't highlight pasted text
+zle_highlight=(paste:none)
+
+autoload -U zargs
+
 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=()
-}
-precmd_functions+='clear_psvar'
-
+bindkey '\e[1~' beginning-of-line
 
 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history