This way, `.shell-local' can override the settings.
__mdw_shell=zsh
case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac
__mdw_shell=zsh
case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac
+###--------------------------------------------------------------------------
+### History settings.
+
+## Put this here so that `.shellrc-local' can override.
+
+HISTFILE=~/.zsh-history
+HISTSIZE=1000
+SAVEHIST=1000
+
###--------------------------------------------------------------------------
### Common shell configuration.
###--------------------------------------------------------------------------
### Common shell configuration.
###--------------------------------------------------------------------------
### Other shell tweaking.
###--------------------------------------------------------------------------
### Other shell tweaking.
-HISTFILE=~/.zsh-history
-HISTSIZE=1000
-SAVEHIST=1000
-
unsetopt auto_cd
unsetopt auto_menu
setopt bang_hist
unsetopt auto_cd
unsetopt auto_menu
setopt bang_hist