dotfiles/.config/zsh/conf.d/20-history.zsh

16 lines
392 B
Bash
Raw Normal View History

2016-04-16 16:31:54 +02:00
## Command history configuration
HISTFILE="${ZCACHE}/history"
2020-09-24 23:27:12 +02:00
HISTSIZE=1000000000
SAVEHIST=1000000000
2016-04-16 16:31:54 +02:00
2020-09-24 23:27:12 +02:00
export HISTTIMEFORMAT="[%F %T] "
setopt INC_APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS
2020-05-24 23:16:31 +02:00
setopt hist_ignore_dups
2016-04-16 16:31:54 +02:00
setopt hist_verify
2020-05-24 23:16:31 +02:00
setopt incappendhistory
setopt histignorespace
setopt histnostore
setopt share_history
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"