From d5eb96eb0a6122fb8553de1efc68b29047d09977 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 17 Aug 2008 00:07:36 +0200 Subject: Include config snippets from other packages --- hooks/post-update | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hooks/post-update') diff --git a/hooks/post-update b/hooks/post-update index a9392dd..c7a50ab 100644 --- a/hooks/post-update +++ b/hooks/post-update @@ -1,2 +1,9 @@ +# vim:ft=zsh mkdir -p $HOME/var/cache/zsh +mkdir -p $PDIR/zsh/provided rm $HOME/var/cache/zsh/compdump +echo -n > $PDIR/zsh/provided/includes + +for snippet in $PDIR/*/provides/zsh/*(.)(N); { + echo "source $snippet" >> $PDIR/zsh/provided/includes +} -- cgit v1.2.3