summaryrefslogtreecommitdiff
path: root/home/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'home/zsh/zshrc')
-rw-r--r--home/zsh/zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/zsh/zshrc b/home/zsh/zshrc
index 196c345..dbcc1cb 100644
--- a/home/zsh/zshrc
+++ b/home/zsh/zshrc
@@ -10,7 +10,7 @@ export LC_ALL=en_US.UTF-8
# set history
HISTSIZE=10000
SAVEHIST=10000
-HISTFILE=~/.histfile
+HISTFILE="$XDG_STATE_HOME"/zsh/history
# check for non-interactive shell
if [[ $- != *i* ]]
@@ -29,7 +29,7 @@ bindkey -v
tabs
autoload compinit
-compinit
+compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
autoload -U colors && colors
setopt promptsubst