From 26a388fef198665f10f627868fbd86aab868e22d Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Sun, 15 Dec 2024 16:55:52 -0800 Subject: [PATCH] Make zsh history instant and shared across --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 76aad2e..de22d4a 100644 --- a/.zshrc +++ b/.zshrc @@ -18,7 +18,10 @@ if [ -e /usr/bin/exa ]; then alias ls="exa --icons" fi +# Live-update ZSH history for all shells setopt appendhistory +setopt incappendhistory +setopt sharehistory # Case-insensetive tab completion autoload -Uz compinit && compinit