X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/af0c689d498bcb9620503480fac4a399540eaa7e..4083af43bbe30e43b04a4cf7473d1c74bdb13061:/.zsh/zshrc/80_history diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index 708ea41..d32d4ea 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -8,7 +8,9 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -HISTFILE=$ZVAR/history +# typeset -g on this one to make warn_create_global happy +typeset -g HISTFILE=$ZVARDIR/history-$HOST +[[ -e $ZVARDIR/history ]] && mv $ZVARDIR/history $HISTFILE HISTSIZE=10000 SAVEHIST=$HISTSIZE LISTMAX=1000