« get me outta code hell

zsh: history variables - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-11 14:26:05 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-11 14:26:05 -0300
commitc1ec29d0e9f80939fdc5b2917d05eec7be67b716 (patch)
treef7083c4c6e5a5acf8edb5da156fed800eb43b83b /.zshrc
parent3f9154fc4f48b1119e449b4de729dd7d42fb0dd6 (diff)
zsh: history variables
These values are just stolen from the current settings on macOS
(i.e. miniminimini). Not sure why they're present there and not
here, but setting history up in your config is normal for zsh!
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 784cbdc..0b12d52 100644
--- a/.zshrc
+++ b/.zshrc
@@ -28,6 +28,10 @@ device_preconfig
 
 # //// zsh configuration //////////////////////////////////////////////////// #
 
+export HISTFILE="$HOME/.zsh_history"
+export SAVEHIST=1000
+export HISTSIZE=2000
+
 autoload -Uz select-word-style
 select-word-style bash