X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=b48a9b9e010442e4dcd2b2917fcac22c10a8add8;hb=344a5c51384fc3acead84167c96a0acfc61be474;hp=0ccf8efb4f473c6a23479b0cb09a751b1aa68ff0;hpb=37c121ea95764ec47f81247933bf67a540fdcd1e;p=grml-etc-core.git 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 ##