]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/history.zsh
zsh/motd: ellide long failed units
[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_reduce_blanks
11 setopt hist_verify
12 setopt share_history # share command history data
13
14 alias history='fc -l 1'