Update zsh history settings

This commit is contained in:
Rob Watson 2020-12-18 08:57:20 +01:00
parent f717377712
commit c925614b6c
1 changed files with 7 additions and 3 deletions

10
zshrc
View File

@ -99,9 +99,13 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Start of custom ZSH configuration
HISTFILE=~/.zsh-history
HISTSIZE=10000
SAVEHIST=10000
export HISTFILE=~/.zsh-history
export HISTSIZE=100000
export SAVEHIST=100000
export HISTTIMEFORMAT="[%F %T] "
setopt HIST_FIND_NO_DUPS
setopt EXTENDED_HISTORY
setopt INC_APPEND_HISTORY
# Go configuration (is this still needed with go mod?)
export GOPATH=$HOME/go