aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-05-23 09:40:19 +0200
committerDavid Runge <dave@sleepmap.de>2023-05-23 09:40:19 +0200
commit1ce6bf269e9a2abf4198608af1dfec87da640bad (patch)
treefd5dbf529da1e903aadcef501ad69087deccda5c /.config/zsh
parentd59b574b67e36ec5420cfedcbf489d9184b3a691 (diff)
downloaddotfiles-1ce6bf269e9a2abf4198608af1dfec87da640bad.tar.gz
dotfiles-1ce6bf269e9a2abf4198608af1dfec87da640bad.tar.bz2
dotfiles-1ce6bf269e9a2abf4198608af1dfec87da640bad.tar.xz
dotfiles-1ce6bf269e9a2abf4198608af1dfec87da640bad.zip
zsh: move history file to XDG_STATE_HOME
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc2
-rw-r--r--.config/zsh/includes/unixpool1
2 files changed, 1 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 86a6262..3d3542a 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -185,7 +185,7 @@ unset key{,map,bindings}
# History
#
# The path to the history file
-HISTFILE="$HOME/.zhistory"
+HISTFILE="$HOME/.local/state/zsh/history"
# The maximum number of events to save in the internal history.
HISTSIZE=10000
# The maximum number of events to save in the history file.
diff --git a/.config/zsh/includes/unixpool b/.config/zsh/includes/unixpool
index e2edade..0d02f33 100644
--- a/.config/zsh/includes/unixpool
+++ b/.config/zsh/includes/unixpool
@@ -1,7 +1,6 @@
# host based zshrc
# unixpool
-HISTFILE=$HOME/.zhistory
unset MAILCHECK
## PATH and exports