diff options
author | Alen <alen@dotfiles.xyz> | 2023-09-23 23:09:59 +0400 |
---|---|---|
committer | Alen <alen@dotfiles.xyz> | 2023-09-23 23:09:59 +0400 |
commit | 923983285eb516aef65638afe16cb0fc21e90b8b (patch) | |
tree | dc991316cada2b946b79dc25db32133b071bdacf /dot_zshrc | |
parent | 9b364cb7b5463167f17c6c7c7a634c1e6835eac0 (diff) |
Fix history potentially being reset with /etc/zshrc
Diffstat (limited to 'dot_zshrc')
-rw-r--r-- | dot_zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
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" |