summaryrefslogtreecommitdiff
path: root/40_KeyBindings.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2006-06-26 21:49:49 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:08 +0100
commit695f7c8f4c063cf3625b3a9c742b5250dc9c0314 (patch)
treebc4f45339303fce6c72976ecabb54760652e17bc /40_KeyBindings.zsh
parent5b3acd75d64d4b9dd872e65a3450140ff9670858 (diff)
Rehash powered !!
- Kill line, - Escape for history, then execute, - Paste previous command. git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@253 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '40_KeyBindings.zsh')
-rw-r--r--40_KeyBindings.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/40_KeyBindings.zsh b/40_KeyBindings.zsh
index 0c0fa99..df166d7 100644
--- a/40_KeyBindings.zsh
+++ b/40_KeyBindings.zsh
@@ -25,8 +25,8 @@ bindkey "" backward-word # ESC left
bindkey "[3~" kill-region # ESC del
# Pratique pour rehasher rapidement
-bindkey -s "r" "rehash\n"
-bindkey -s "R" "rehash\n"
+bindkey -s "r" " rehash\n"
+bindkey -s "R" " rehash\n"
test $TERM = "rxvt" -o $TERM = "xterm" -o $TERM = "aterm" &&
{