HISTSIZE=1000
SAVEHIST=1000
-setopt appendhistory
unsetopt auto_cd
unsetopt auto_menu
unsetopt bash_auto_list
unsetopt beep
setopt extendedglob
+setopt hist_ignore_all_dups
setopt ksh_glob
setopt list_ambiguous
setopt list_packed
unsetopt nomatch
unsetopt menu_complete
setopt notify
+setopt share_history
zshaddhistory () {
case "$1" in