chiark / gitweb /
dot/bashrc, dot/zshrc: Turn on `!' expansion explicitly.
[profile] / dot / zshrc
index 8ee287a0f0f9e0303124ae74322b29a940cd4763..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 \
@@ -59,8 +61,8 @@ bindkey "\et" transpose-words-bash
 bindkey "\e^t" transpose-words-shell
 bindkey "\eu" up-case-word-bash
 bindkey "\e^u" up-case-word-shell
-bindkey "\el" up-case-word-bash
-bindkey "\e^l" up-case-word-shell
+bindkey "\el" down-case-word-bash
+bindkey "\e^l" down-case-word-shell
 bindkey "\ec" capitalize-word-bash
 bindkey "\e^c" capitalize-word-shell
 
@@ -115,6 +117,7 @@ SAVEHIST=1000
 
 unsetopt auto_cd
 unsetopt auto_menu
+setopt bang_hist
 unsetopt bash_auto_list
 unsetopt beep
 setopt extendedglob