diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 00:07:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 00:07:36 +0200 |
commit | d5eb96eb0a6122fb8553de1efc68b29047d09977 (patch) | |
tree | 438ca5b1e9bba6e31cf5d2544320af2c29158460 /hooks/post-update | |
parent | b3ac070c1454cf23c0edc3bfb36524e0326fb069 (diff) |
Include config snippets from other packages
Diffstat (limited to 'hooks/post-update')
-rw-r--r-- | hooks/post-update | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |