]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/history.zsh
c2c2441b12b1c32eeb2dcb5c322e33f99fb3724b
[dotfiles.git] / zsh / lib / history.zsh
1 ## Command history configuration
2 HISTFILE=$ZSH_DATA/histfile
3 HISTSIZE=120000 # should be larger than SAVEHIST, see HIST_EXPIRE_DUPS_FIRST in zshall(1)
4 SAVEHIST=100000
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'