From 344a5c51384fc3acead84167c96a0acfc61be474 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 26 Aug 2009 23:01:05 +0200 Subject: [PATCH] zshrc: move a commented out example to skel/.zshrc --- etc/skel/.zshrc | 13 +++++++++++++ etc/zsh/zshrc | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 0ccf8ef..b48a9b9 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -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 ## diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 6ce77f5..b0c7a06 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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) -- 2.1.4