X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S10_zshopts;h=b722e4cbe0b2d4568a1461136ba3420dcb36b446;hp=a60363924530ece0e8835430f5521a9a91d241fd;hb=fa67692f7af21ac494889ecc956b48c5c4cdf687;hpb=33f358ecfbcbbea51cb2c95422b63f717f5884c9 diff --git a/S10_zshopts b/S10_zshopts index a603639..b722e4c 100644 --- a/S10_zshopts +++ b/S10_zshopts @@ -7,17 +7,21 @@ 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 +bindkey '\e[1~' beginning-of-line [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history