/etc/zsh/zshrc: use \e instead of the escape-sequence
authorMichael Prokop <mika@grml.org>
Thu, 7 Jun 2007 12:52:23 +0000 (14:52 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 7 Jun 2007 12:52:23 +0000 (14:52 +0200)
debian/changelog
etc/zsh/zshrc

index 7995931..8f29c65 100644 (file)
@@ -1,3 +1,10 @@
+grml-etc-core (0.3.10) unstable; urgency=low
+
+  * /etc/zsh/zshrc: use \e instead of the escape-sequence.
+    Thanks ft!
+
+ -- Michael Prokop <mika@grml.org>  Thu, 07 Jun 2007 14:51:38 +0200
+
 grml-etc-core (0.3.9) unstable; urgency=low
 
   * /etc/zsh/zshrc:
index e535076..1c4fd3c 100644 (file)
@@ -202,8 +202,8 @@ fi
 #if [[ "$TERM" == screen ]]; then
   bindkey '\e[1~' beginning-of-line       # home
   bindkey '\e[4~' end-of-line             # end
-  bindkey "^[[A"  up-line-or-search       # cursor up
-  bindkey "^[[B"  down-line-or-search     # <ESC>-
+  bindkey '\e[A'  up-line-or-search       # cursor up
+  bindkey '\e[B'  down-line-or-search     # <ESC>-
   bindkey '^x'    history-beginning-search-backward # alternative ways of searching the shell history
 # bindkey -s '^L' "|less\n"             # ctrl-L pipes to less
 # bindkey -s '^B' " &\n"                # ctrl-B runs it in the background