~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/zshrc: Inhibit line editing when terminal is `dumb'.
[profile]
/
dot
/
zshrc
diff --git
a/dot/zshrc
b/dot/zshrc
index
8ee287a
..
4dc0fb7
100644
(file)
--- a/
dot/zshrc
+++ b/
dot/zshrc
@@
-30,6
+30,8
@@
fi
###--------------------------------------------------------------------------
### Line editing.
###--------------------------------------------------------------------------
### Line editing.
+case $TERM in dumb) unsetopt zle ;; esac
+
bindkey -e
for w in \
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 "\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
bindkey "\ec" capitalize-word-bash
bindkey "\e^c" capitalize-word-shell