From: Frank Terbeck Date: Wed, 12 Aug 2009 20:24:56 +0000 (+0200) Subject: zshrc: mark specilized run-help functions for autoloading X-Git-Tag: v0.3.75~22 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=06daabb03098a5938ece9c080dc153ca46dd75a6;p=grml-etc-core.git zshrc: mark specilized run-help functions for autoloading run-help-git -svk -svn As requested by mika. --- diff --git a/debian/changelog b/debian/changelog index 5f87c5c..e798603 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,11 +2,12 @@ grml-etc-core (0.3.74) unstable; urgency=low [ Frank Terbeck ] * vimrc: merged /etc/vim/vimrc and /etc/skel/.vimrc into one file + * zshrc: mark specialized run-help functions for autoloading [ Michael Prokop ] * /etc/grml/script-functions: replace 'type -p' with 'which'. - -- Michael Prokop Mon, 10 Aug 2009 14:15:50 +0200 + -- Frank Terbeck Wed, 12 Aug 2009 22:24:13 +0200 grml-etc-core (0.3.73) unstable; urgency=low diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index c6e0eca..c673f73 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -938,7 +938,9 @@ alias url-quote='autoload -U url-quote-magic ; zle -N self-insert url-quote-magi #m# k ESC-h Call \kbd{run-help} for the 1st word on the command line alias run-help >&/dev/null && unalias run-help -zrcautoload run-help # use via 'esc-h' +for rh in run-help{,-git,-svk,-svn}; do + zrcautoload $rh +done; unset rh # completion system if zrcautoload compinit ; then