zshrc: move a commented out example to skel/.zshrc
authorFrank Terbeck <ft@bewatermyfriend.org>
Wed, 26 Aug 2009 21:01:05 +0000 (23:01 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Wed, 26 Aug 2009 21:01:05 +0000 (23:01 +0200)
etc/skel/.zshrc
etc/zsh/zshrc

index 0ccf8ef..b48a9b9 100644 (file)
@@ -64,6 +64,19 @@ fi
 #WORDCHARS='*?_[]~=&;!#$%^(){}'
 #WORDCHARS='${WORDCHARS:s@/@}'
 
+# just type 'cd ...' to get 'cd ../..'
+#rationalise-dot() {
+#  if [[ $LBUFFER == *.. ]] ; then
+#    LBUFFER+=/..
+#  else
+#    LBUFFER+=.
+#  fi
+#}
+#zle -N rationalise-dot
+#bindkey . rationalise-dot
+
+#bindkey '\eq' push-line-or-edit
+
 
 ## some popular options ##
 
index 6ce77f5..b0c7a06 100644 (file)
@@ -581,19 +581,6 @@ zle -N insert-unicode-char
 #k# Insert Unicode character
 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
-
-#  bindkey '\eq' push-line-or-edit
-
 ## toggle the ,. abbreviation feature on/off
 # NOABBREVIATION: default abbreviation-state
 #                 0 - enabled (default)