X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/3cfd3322550b929dd126d509ca4a9ae7024fe71b..18893ab887e52bf73e7826771665a7d515823e8d:/.zsh/zshrc/80_history?ds=inline 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