deactivate rationalise-dot by default
authorMichael Prokop <mika@grml.org>
Wed, 14 Mar 2007 14:49:04 +0000 (15:49 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 14 Mar 2007 14:49:04 +0000 (15:49 +0100)
debian/changelog
etc/zsh/zshrc

index 0b25727..3b2e143 100644 (file)
@@ -1,7 +1,8 @@
 grml-etc-core (0.2.30) unstable; urgency=low
 
   * /etc/zsh/zshrc: added rationalise-dot (just type 'cd ...' to
-    get 'cd ../..'). Taken from Christian Schneider:
+    get 'cd ../..'), but deactivated by default. Taken from
+    Christian Schneider:
     http://strcat.de/blog/archives/707-Schnelles-Verzeichniswechseln.html
     Thanks for pointing, schula.
 
index 1fb1f24..ba1e3b4 100644 (file)
@@ -3,7 +3,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mit Mär 14 15:41:03 CET 2007 [mika]
+# Latest change: Mit Mär 14 15:48:34 CET 2007 [mika]
 ################################################################################
 # This file is sourced only for interactive shells. It
 # should contain commands to set up aliases, functions,
@@ -147,15 +147,15 @@ fi
   bindkey '^Xi' insert-unicode-char
 
 # just type 'cd ...' to get 'cd ../..'
-  rationalise-dot() {
-  if [[ $LBUFFER = *.. ]]; then
-    LBUFFER+=/..
-  else
-    LBUFFER+=.
-  fi
-  }
-  zle -N rationalise-dot
-  bindkey . rationalise-dot
+#  rationalise-dot() {
+#  if [[ $LBUFFER = *.. ]]; then
+#    LBUFFER+=/..
+#  else
+#    LBUFFER+=.
+#  fi
+#  }
+#  zle -N rationalise-dot
+#  bindkey . rationalise-dot
 
 #  bindkey '\eq' push-line-or-edit
 # }}}