X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S10_zshopts;h=b722e4cbe0b2d4568a1461136ba3420dcb36b446;hp=2697a16f3b2d7161281b34d9c1be6962c660af80;hb=fa67692f7af21ac494889ecc956b48c5c4cdf687;hpb=465147e6a56fa02599c62a11d00795fcd5194a1d diff --git a/S10_zshopts b/S10_zshopts index 2697a16..b722e4c 100644 --- a/S10_zshopts +++ b/S10_zshopts @@ -13,19 +13,15 @@ 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 - -# 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