X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ad8b383d21775f621bab9a72a76413fc9fdd00ef..a61d7e5b39a4e0e4b9e5c69ad847639d67d07c02:/.zsh/zshrc/80_history diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index 48a161a..faf9e6d 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -1,15 +1,16 @@ -# zshrc/90_history +# zshrc/80_history # # Set up command line history functions # # 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 # -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