Move history file to ~/.cache/zsh/histfile
Also ensure that ~/.cache/zsh exists.
This commit is contained in:
parent
37480288ae
commit
d2626b5fa5
3
zshenv
3
zshenv
@ -3,7 +3,8 @@
|
|||||||
# tty. This file will always be sourced.
|
# tty. This file will always be sourced.
|
||||||
|
|
||||||
# Enable saving command history to file
|
# Enable saving command history to file
|
||||||
HISTFILE=$HOME/.histfile
|
[ ! -d $HOME/.cache/zsh ] && mkdir -p $HOME/.cache/zsh
|
||||||
|
HISTFILE=$HOME/.cache/zsh/histfile
|
||||||
HISTSIZE=5000
|
HISTSIZE=5000
|
||||||
SAVEHIST=5000
|
SAVEHIST=5000
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user