Move rupa/z state file into $XDG_DATA_HOME instead of ~
This commit is contained in:
parent
8273e0ce15
commit
1cb0d74a1e
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
HISTFILE=$XDG_DATA_HOME/zsh/history
|
HISTFILE=$XDG_DATA_HOME/zsh/history
|
||||||
|
mkdir -p ${HISTFILE:h}
|
||||||
HISTSIZE=50000
|
HISTSIZE=50000
|
||||||
SAVEHIST=$HISTSIZE
|
SAVEHIST=$HISTSIZE
|
||||||
|
|
||||||
|
|
3
.config/zsh/interactive/z
Normal file
3
.config/zsh/interactive/z
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#! zsh
|
||||||
|
_Z_DATA=$XDG_DATA_HOME/z/z
|
||||||
|
mkdir -p ${_Z_DATA:h}
|
Loading…
Reference in a new issue