refactor(zsh): export HISTFILE to XDG_DATA_HOME by default
This commit is contained in:
parent
bf75a909cb
commit
2f46237981
@ -2,7 +2,7 @@
|
||||
|
||||
export SAVEHIST=10000
|
||||
export HISTSIZE=10000
|
||||
export HISTFILE="${HOME}/.zsh_history"
|
||||
export HISTFILE="${XDG_CACHE_HOME:-"$HOME"}/zsh_history"
|
||||
setopt INC_APPEND_HISTORY
|
||||
setopt SHARE_HISTORY
|
||||
setopt EXTENDED_HISTORY
|
||||
|
Loading…
Reference in New Issue
Block a user