Modiefied hoistory settings for zsh

This commit is contained in:
Christian Baer 2020-09-24 23:27:12 +02:00
parent 2b00f01a04
commit ae9263c183

View File

@ -1,17 +1,19 @@
## Command history configuration ## Command history configuration
HISTFILE=$ZDOTDIR/history HISTFILE=$ZDOTDIR/history
HISTSIZE=40000 HISTSIZE=1000000000
SAVEHIST=40000 SAVEHIST=1000000000
setopt append_history export HISTTIMEFORMAT="[%F %T] "
setopt extended_history setopt INC_APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS
setopt hist_ignore_dups setopt hist_ignore_dups
setopt hist_verify setopt hist_verify
setopt incappendhistory setopt incappendhistory
setopt histignorespace setopt histignorespace
setopt histnostore setopt histnostore
setopt share_history setopt share_history
HISTORY_IGNORE='([bf]g *|disown|cd ..|cd -)' export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
# Make up and down arrow take whats typed on the commandline in to account. # Make up and down arrow take whats typed on the commandline in to account.