From fb8769fc4556cf2fdef03bbcacd913c77a7dcb6a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 22 May 2008 20:07:36 +0200 Subject: [PATCH] use per-host history files --- .zsh/zshrc/80_history | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index af0f93b..d32d4ea 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -9,7 +9,8 @@ # # typeset -g on this one to make warn_create_global happy -typeset -g HISTFILE=$ZVARDIR/history +typeset -g HISTFILE=$ZVARDIR/history-$HOST +[[ -e $ZVARDIR/history ]] && mv $ZVARDIR/history $HISTFILE HISTSIZE=10000 SAVEHIST=$HISTSIZE LISTMAX=1000 -- 2.39.5