X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S10_zshopts;h=7da5e3fcb50880c6fe5feb77d5a3d3d7811cb722;hp=4f3c2f8486271c96627588cf64462b6b52ca3cb0;hb=HEAD;hpb=7233001b1aed9a30e46c8e4162d4a8b8abfc3d9a diff --git a/S10_zshopts b/S10_zshopts index 4f3c2f8..7da5e3f 100644 --- a/S10_zshopts +++ b/S10_zshopts @@ -7,12 +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 -psvar=() +# use emacs bindings +bindkey -e +bindkey '\e[1~' beginning-of-line [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history