diff options
| author | 2026-01-19 08:39:47 +0100 | |
|---|---|---|
| committer | 2026-01-19 08:39:47 +0100 | |
| commit | 4ae4676f40a66d99d08c00d05c50ec732e861592 (patch) | |
| tree | 55eb1a41c86db243a1823fc4986ccf47522ecd57 /dot_config | |
| parent | sh: add fish xdg compat (diff) | |
zsh: spcify histsize/savehist
Diffstat (limited to '')
| -rw-r--r-- | dot_config/zsh/zprofile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
