by UncleOxidant · 1y ago · 0 comments
shopt -s histappend
PROMPT_COMMAND="history -a"It’s a free local (or remote) better shell history utility. Does a good job of syncing histories across multiple windows in my experience
# History file for zsh HISTFILE=~/.zsh_history
# How many commands to store in history HISTSIZE=10000 SAVEHIST=10000
# Share history in every terminal session
setopt SHARE_HISTORY