From 1ce6bf269e9a2abf4198608af1dfec87da640bad Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 23 May 2023 09:40:19 +0200 Subject: zsh: move history file to XDG_STATE_HOME --- .config/zsh/.zshrc | 2 +- .config/zsh/includes/unixpool | 1 - 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3-70-g09d2