X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/dd0ae6042dcd690fa561f6e5a610b60ab10f85d5..9344d99cba5549c443f50159044706a777e502bc:/.zsh/zshrc/00_recompile?ds=sidebyside diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile index 9589a6b..24e51b6 100644 --- a/.zsh/zshrc/00_recompile +++ b/.zsh/zshrc/00_recompile @@ -5,9 +5,15 @@ # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/etc/zsh.git # -zrecompile $ZDOTDIR $ZVAR +zrecompile $ZDOTDIR/**/*(/N) $ZVARDIR/**/*(/N) | while read pre file post; do + case "$post" in + succeeded*) rm -f "${file%:}".old;; + *) :;; + esac + info "$pre ${file##$HOME/} $post" + done # vim:ft=zsh