From 4ae4676f40a66d99d08c00d05c50ec732e861592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Mon, 19 Jan 2026 08:39:47 +0100 Subject: zsh: spcify histsize/savehist --- dot_config/zsh/zprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/zsh/zprofile b/dot_config/zsh/zprofile index 7238813..27ea0fa 100644 --- a/dot_config/zsh/zprofile +++ b/dot_config/zsh/zprofile @@ -4,6 +4,10 @@ xzsource zprofile.pre : ${PAGER:=less} ${EDITOR:=vi} \ ${HOSTNAME:=$(uname -n)} ${USER:=$(id -un)} \ ${HISTFILE:=~/.local/state/history/zsh} +if [ "${HISTSIZE:-30}" = 30 ]; then + HISTSIZE=5000 + SAVEHIST=10000 +fi export EDITOR HISTFILE PAGER setopt nullglob -- cgit v1.2.3