From c84f27834c42b1a92b4571e93bbbf7f0a8c4aecc Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 21 Aug 2021 16:31:17 +0300 Subject: feat(zsh): share history across terminals --- env/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'env') diff --git a/env/.zshrc b/env/.zshrc index 72d49ee..89cbbca 100644 --- a/env/.zshrc +++ b/env/.zshrc @@ -4,10 +4,11 @@ bindkey -e # History in cache directory: export HISTSIZE=10000 -export SAVEHIST= +export SAVEHIST=10000000 export HISTFILE=~/.cache/zsh/history setopt HIST_IGNORE_ALL_DUPS setopt INC_APPEND_HISTORY +setopt SHARE_HISTORY # Completion autoload -U compinit -- cgit v1.2.3