Better history handling with multiple sessions

main
Yax 1 week ago
parent fa4306579f
commit 2e3694daf1

@ -53,11 +53,9 @@ alias grep='grep --color'
# History # History
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Allow multiple sessions to append to one Zsh command history. setopt APPEND_HISTORY # Append commands to the history file when a session ends
setopt APPEND_HISTORY unsetopt INC_APPEND_HISTORY # Avoid appending commands immediately after execution
unsetopt SHARE_HISTORY # Keep history isolated to each session during runtime
# Write to the history file immediately, not when the shell exits.
setopt INC_APPEND_HISTORY
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Git # Git

Loading…
Cancel
Save