no duplicate history entries, better fzf ctrl-r search

main
Steffen Rademacker 7 years ago
parent 94c9ec94f1
commit 373cd3cb24

@ -29,8 +29,8 @@ setopt always_to_end
if [ -z $HISTFILE ]; then if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history HISTFILE=$HOME/.zsh_history
fi fi
HISTSIZE=10000 HISTSIZE=1000000
SAVEHIST=10000 SAVEHIST=1000000
# easy vim/terminal switch # easy vim/terminal switch
zle -N fancy-ctrl-z zle -N fancy-ctrl-z
@ -39,11 +39,13 @@ bindkey '^Z' fancy-ctrl-z
setopt append_history setopt append_history
setopt extended_history setopt extended_history
setopt hist_expire_dups_first setopt hist_expire_dups_first
setopt hist_ignore_dups # ignore duplication command history list setopt hist_ignore_dups
setopt hist_save_no_dups
setopt hist_ignore_all_dups
setopt hist_ignore_space setopt hist_ignore_space
setopt hist_verify setopt hist_verify
setopt inc_append_history setopt inc_append_history
setopt share_history # share command history data setopt share_history
# smart urls # smart urls
autoload -U url-quote-magic autoload -U url-quote-magic

Loading…
Cancel
Save