Update zsh history settings
This commit is contained in:
parent
f717377712
commit
c925614b6c
10
zshrc
10
zshrc
|
@ -99,9 +99,13 @@ source $ZSH/oh-my-zsh.sh
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
# Start of custom ZSH configuration
|
# Start of custom ZSH configuration
|
||||||
HISTFILE=~/.zsh-history
|
export HISTFILE=~/.zsh-history
|
||||||
HISTSIZE=10000
|
export HISTSIZE=100000
|
||||||
SAVEHIST=10000
|
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?)
|
# Go configuration (is this still needed with go mod?)
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
|
|
Loading…
Reference in New Issue