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