]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/80_history
make l output a shorter listing
[zsh.git] / .zsh / zshrc / 80_history
index af0f93b44a784146583027ff341db795fc42c1e8..faf9e6d6208b19aab4ad8f4dda80746ff6904e63 100644 (file)
@@ -5,11 +5,12 @@
 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
 # 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
 #
 
 # 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