]> git.donarmstrong.com Git - zsh.git/blob - .zsh/zprofile/40_zcompile
b3a3e264ae454098abc55f015dde699b0448118a
[zsh.git] / .zsh / zprofile / 40_zcompile
1 # zlogin/40_zcompile
2 #
3 # compile zsh snippets
4 #
5 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
6 # Released under the terms of the Artistic Licence 2.0
7 #
8 # Source repository: http://git.madduck.net/v/etc/zsh.git
9 #
10
11 if [ -n "$ZDOTDIR" ]; then
12   command rm -f $ZDOTDIR/**/*.zwc(.N) $ZDOTDIR/**/.*.zwc(.N) ZVAR/**/*.zwc(.N)
13   for f ($ZDOTDIR/.*(@) $ZDOTDIR/*(.) $ZDOTDIR/**/*(.) $ZVAR/comp-$HOST) \
14     zcompile $f
15 fi
16
17 # vim:ft=zsh