Add accept-or-recall-and-infer-history

Pressing Alt-Enter now uses accept-and-infer-history, with the addition of using
the last executed command for inferring if pressed while the command line is
empty
This commit is contained in:
crater2150 2017-03-06 17:15:09 +01:00
parent c5211a17f1
commit cebda88f7b
2 changed files with 19 additions and 1 deletions

5
zshrc
View file

@ -2,10 +2,13 @@
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000
unsetopt histsavenodups
setopt autocd extendedglob notify correct autonamedirs
setopt list_ambiguous autopushd pushd_ignore_dups
setopt hist_ignore_all_dups hist_ignore_space share_history
setopt hist_ignore_space share_history
#setopt hist_ignore_all_dups
setopt no_auto_remove_slash auto_param_slash
setopt completeinword
setopt chase_links