aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-08-21 16:31:17 +0300
committereug-vs <eugene@eug-vs.xyz>2021-08-21 16:31:17 +0300
commitc84f27834c42b1a92b4571e93bbbf7f0a8c4aecc (patch)
tree4b45ce775215cfcf63524521a7fca50e918db206
parent5df5cf1fc1969f7d065456acdc051babfb7e1e29 (diff)
downloaddotfiles-c84f27834c42b1a92b4571e93bbbf7f0a8c4aecc.tar.gz
feat(zsh): share history across terminals
-rw-r--r--env/.zshrc3
1 files changed, 2 insertions, 1 deletions
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