Merge branch 'master' into fairchild
[profile] / dot / zshrc
index 4dc0fb7..3cf00dc 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -117,26 +117,23 @@ SAVEHIST=1000
 
 unsetopt auto_cd
 unsetopt auto_menu
+setopt bang_hist
 unsetopt bash_auto_list
 unsetopt beep
 setopt extendedglob
 unsetopt flow_control
 setopt hist_ignore_all_dups
+setopt hist_ignore_space
 setopt ksh_glob
 setopt list_ambiguous
 setopt list_packed
+setopt multios
 unsetopt nomatch
 unsetopt menu_complete
 setopt notify
+setopt rc_expand_param
 setopt share_history
 
-zshaddhistory () {
-  case "$1" in
-    " "*) return 2 ;;
-    *) return 0 ;;
-  esac
-}
-
 ###--------------------------------------------------------------------------
 ### Finishing touches.