X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/77bc157163da3f5f9fd2c300733f505ffce8763c..1edf3ccaf2250a42f75b6e56db0a1df3dbcd9c23:/.zsh/zshrc/80_history?ds=sidebyside diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index 4a80f06..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=$ZVARDIR/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