create zsh state folder if not exists
This commit is contained in:
1 parent
65808aed66
commit
4be3b48cd9
1 file changed
+1
@@ -4,6 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Lines configured by zsh-newuser-install
|
# Lines configured by zsh-newuser-install
|
||||||
export HISTFILE="$XDG_STATE_HOME"/zsh/history
|
export HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||||
|
mkdir -p "$(dirname $HISTFILE)"
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
setopt autocd
|
setopt autocd
|
||||||
|
|||||||
Reference in new issue
Block a user