From 923983285eb516aef65638afe16cb0fc21e90b8b Mon Sep 17 00:00:00 2001 From: Alen Date: Sat, 23 Sep 2023 23:09:59 +0400 Subject: Fix history potentially being reset with /etc/zshrc --- dot_zshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot_zshrc') diff --git a/dot_zshrc b/dot_zshrc index d62132d..13b626a 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,3 +1,8 @@ +# Set up nice and lengthy history +export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history" +export HISTSIZE=1000000 +export SAVEHIST=1000000 + # Simple prompt PROMPT="%F{15}%K{4}%n@%M:%~%f%k " RPROMPT="%(?.%F{10}%?.%F{9}%?)%f %T" -- cgit 1.4.1-2-gfad0