From dd6caf8f53fbde452429b27b52cbe0caa6796862 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 21 Jul 2024 12:19:10 -0400 Subject: [PATCH] History merge note --- fake_home/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 8f84b1f..c74f5e0 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -154,6 +154,7 @@ function sync-history { scp -P 11275 "$HOME/.histfile" 'sage@sagev.space:~/histfile' return fi + echo "Merging history files..." fc -W # Write to history file merge-hist "$HOME/.histfile" "$HOME/.tmp/.histfile" > "$HOME/.tmp/$(whoami).histfile" mv "$HOME/.tmp/$(whoami).histfile" "$HOME/.histfile"