From c0a2a4d13a0d0ca203f76da8fd2ed253ea74ee94 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 28 Nov 2017 21:37:44 +0100 Subject: [PATCH] Make a couple of history parameters adhere to presets Requested on IRC, and I don't see why not. --- etc/zsh/zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index c688f28..c64a1f8 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1582,9 +1582,9 @@ function command_not_found_handler () { # history #v# -HISTFILE=${ZDOTDIR:-${HOME}}/.zsh_history -isgrmlcd && HISTSIZE=500 || HISTSIZE=5000 -isgrmlcd && SAVEHIST=1000 || SAVEHIST=10000 # useful for setopt append_history +HISTFILE=${HISTFILE:-${ZDOTDIR:-${HOME}}/.zsh_history} +isgrmlcd && HISTSIZE=500 || HISTSIZE=${HISTSIZE:-5000} +isgrmlcd && SAVEHIST=1000 || SAVEHIST=${SAVEHIST:-10000} # useful for setopt append_history # dirstack handling -- 2.1.4