diff options
author | Dennis Eriksen <d@ennis.no> | 2024-09-10 23:06:53 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2024-09-10 23:06:53 +0200 |
commit | 1dbd65562e33d88b8951fd9766a6f9def7abe95e (patch) | |
tree | ffac68fbe5023deab8bd066e333fc76eb3fd73e5 | |
parent | idgatt_compile: try out anonymous functions instead (diff) | |
download | idgatt-1dbd65562e33d88b8951fd9766a6f9def7abe95e.tar.gz |
remove history symlink from git, create in zshrc instead
l--------- | zsh/.zsh/.zsh_history | 1 | ||||
-rw-r--r-- | zsh/.zsh/.zshrc | 3 |
2 files changed, 2 insertions, 2 deletions
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 |