X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/af0c689d498bcb9620503480fac4a399540eaa7e..39c1e2a1224cfb703fa3e3cd2909821013976bc5:/.zsh/zshrc/80_history?ds=sidebyside diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index 708ea41..faf9e6d 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -5,10 +5,12 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/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