X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ca900436786c6c979d0387bee1c7d8fc53687d73;hb=65ac134204e0988d609484b6765f17b9921d7722;hp=16804712409310750ffecd047c427401ae87cc78;hpb=b9bdbb1eff440c668c8fb8257f48da40fb3fdbac;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 1680471..ca90043 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1087,7 +1087,7 @@ function help-show-abk () { zle -N help-show-abk -# press "ctrl-e d" to insert the actual date in the form yyyy-mm-dd +# press "ctrl-x d" to insert the actual date in the form yyyy-mm-dd function insert-datestamp () { LBUFFER+=${(%):-'%D{%Y-%m-%d}'}; } zle -N insert-datestamp @@ -1477,7 +1477,7 @@ bind2maps emacs viins -- -s ' ' magic-space #k# Trigger menu-complete bind2maps emacs viins -- -s '\ei' menu-complete # menu completion via esc-i #k# Insert a timestamp on the command line (yyyy-mm-dd) -bind2maps emacs viins -- -s '^ed' insert-datestamp +bind2maps emacs viins -- -s '^xd' insert-datestamp #k# Insert last typed word bind2maps emacs viins -- -s "\em" insert-last-typed-word #k# A smart shortcut for \kbd{fg} @@ -3727,7 +3727,7 @@ fi # end of check whether we have the 'hg'-executable if (( GRMLSMALL_SPECIFIC > 0 )) && isgrmlsmall ; then - unset abk[V] &> /dev/null + unset "abk[V]" unalias 'V' &> /dev/null unfunction vman &> /dev/null unfunction viless &> /dev/null