From 1dbd65562e33d88b8951fd9766a6f9def7abe95e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 10 Sep 2024 23:06:53 +0200 Subject: remove history symlink from git, create in zshrc instead --- zsh/.zsh/.zsh_history | 1 - zsh/.zsh/.zshrc | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 120000 zsh/.zsh/.zsh_history diff --git a/zsh/.zsh/.zsh_history b/zsh/.zsh/.zsh_history deleted file mode 120000 index 4be352f..0000000 --- a/zsh/.zsh/.zsh_history +++ /dev/null @@ -1 +0,0 @@ -../../../.local/state/zsh/zsh_history \ No newline at end of file diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc index 0f35190..e3f2253 100644 --- a/zsh/.zsh/.zshrc +++ b/zsh/.zsh/.zshrc @@ -91,7 +91,8 @@ setopt inc_append_history # write history immediatly after commands # Keep n lines of history within the shell and save it to ${ZDOTDIR}/.zsh_history: export HISTSIZE=1100000 export SAVEHIST=1000000 -export HISTFILE="$ZSTATEDIR"/zsh_history +export HISTFILE=$ZSTATEDIR/zsh_history +ln -sf $HISTFILE $ZDOTDIR/.zsh_history -- cgit v1.2.3