chiark / gitweb /
dot/bashrc, dot/zshrc: Turn on `!' expansion explicitly.
[profile] / dot / zshrc
index d280c14f662c4ff86cd91852f0659f1bfd5e8d18..8af418a47e408b69d15795d23e2b9960b2baf91c 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -30,6 +30,8 @@ fi
 ###--------------------------------------------------------------------------
 ### Line editing.
 
+case $TERM in dumb) unsetopt zle ;; esac
+
 bindkey -e
 
 for w in \
@@ -115,6 +117,7 @@ SAVEHIST=1000
 
 unsetopt auto_cd
 unsetopt auto_menu
+setopt bang_hist
 unsetopt bash_auto_list
 unsetopt beep
 setopt extendedglob