1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # history.zshrc: Setup ZSH history
4 function clear_history {
6 cat /dev/null >"$HISTFILE"
14 setopt extended_history
15 setopt hist_expire_dups_first
16 setopt hist_ignore_dups
17 setopt hist_ignore_space
19 setopt histignorealldups
20 setopt histignorespace
21 setopt inc_append_history
24 alias history='fc -il 1'