zshrc: mark specilized run-help functions for autoloading
authorFrank Terbeck <ft@bewatermyfriend.org>
Wed, 12 Aug 2009 20:24:56 +0000 (22:24 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Wed, 12 Aug 2009 20:24:56 +0000 (22:24 +0200)
run-help-git
        -svk
        -svn

As requested by mika.

debian/changelog
etc/zsh/zshrc

index 5f87c5c..e798603 100644 (file)
@@ -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 <mika@grml.org>  Mon, 10 Aug 2009 14:15:50 +0200
+ -- Frank Terbeck <ft@grml.org>  Wed, 12 Aug 2009 22:24:13 +0200
 
 grml-etc-core (0.3.73) unstable; urgency=low
 
index c6e0eca..c673f73 100644 (file)
@@ -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