summaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/zsh/zprofile4
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