From 946248bdaef1475a16cfbf2c3bba77fdee0fe626 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 25 Mar 2024 23:04:55 +0100 Subject: [PATCH] Set append_history --- home/programs/terminal/shell/zsh/rc/opts.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/programs/terminal/shell/zsh/rc/opts.zsh b/home/programs/terminal/shell/zsh/rc/opts.zsh index 9d6ed8f..e063d7b 100644 --- a/home/programs/terminal/shell/zsh/rc/opts.zsh +++ b/home/programs/terminal/shell/zsh/rc/opts.zsh @@ -37,6 +37,10 @@ setopt PUSHD_SILENT # do not print the directory stack # History Configuration # ######################### +# Append history list to history file once the session exits, rather than replacing +# the history file, erasing any past entries +setopt APPEND_HISTORY + # If the internal history needs to be trimmed to add the current command line, setting this # option will cause the oldest history event that has a duplicate to be lost before losing a # unique event from the list. You should be sure to set the value of HISTSIZE to a larger