]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/history.zsh
zsh: history is data, not cache (REQUIRES MANUAL INTERVENTION)
[dotfiles.git] / zsh / lib / history.zsh
1 ## Command history configuration
2 HISTFILE=$ZSH_DATA/histfile
3 HISTSIZE=10000
4 SAVEHIST=10000
5
6 setopt extended_history
7 setopt hist_expire_dups_first
8 setopt hist_ignore_dups # ignore duplication command history list
9 setopt hist_ignore_space
10 setopt hist_verify
11 setopt share_history # share command history data
12
13 alias history='fc -l 1'