X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ed53f8c3fed60ee969db84a0501722955e78831c..57d8fb02350273da083d12c96a460a666ef4a9e7:/.zsh/zshrc/80_history?ds=inline diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index e515b51..d32d4ea 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -8,8 +8,9 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # -DEFAULT_HISTFILE=$ZVAR/history -HISTFILE=$DEFAULT_HISTFILE +# 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