]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/80_history
set warn_create_global and unglobal a few
[zsh.git] / .zsh / zshrc / 80_history
index 48a161a3e642115dd5093cf6d3fc33718e125ca5..af0f93b44a784146583027ff341db795fc42c1e8 100644 (file)
@@ -1,4 +1,4 @@
-# zshrc/90_history
+# zshrc/80_history
 #
 # Set up command line history functions
 #
@@ -8,8 +8,8 @@
 # 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
 HISTSIZE=10000
 SAVEHIST=$HISTSIZE
 LISTMAX=1000