summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-12-31 12:59:59 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-12-31 12:59:59 +0100
commite154794e49adba71927b2d1074e4efb24dd4a2e3 (patch)
tree3e042aac85c06a115542ac644604c56807a95519
parent1bbd3b1feca4214752b4abc9f2fb8d6fb588511d (diff)
zle: Enabled predict
-rw-r--r--etc/zle7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/zle b/etc/zle
index 3617f57..e5c6fc0 100644
--- a/etc/zle
+++ b/etc/zle
@@ -1,3 +1,10 @@
## vim:ft=zsh
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
+
+autoload predict-on
+zle -N predict-on
+zle -N predict-off
+bindkey '^Z' predict-on
+bindkey '^X^Z' predict-off
+zstyle ':predict' verbose true