From: martin f. krafft Date: Mon, 5 May 2008 18:01:04 +0000 (+0100) Subject: recompile necessary files for each new shell X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/dd0ae6042dcd690fa561f6e5a610b60ab10f85d5?ds=sidebyside;hp=ef497cfeb02b64775e838ef294d41576b10c0920 recompile necessary files for each new shell --- diff --git a/.zsh/zshrc/00_autoload b/.zsh/zshrc/00_autoload index 7d5de0f..a364130 100644 --- a/.zsh/zshrc/00_autoload +++ b/.zsh/zshrc/00_autoload @@ -23,4 +23,7 @@ autoload -U colors ; colors # use shell builtins for standard file operations zmodload zsh/files +# allow zwc file recompiling +autoload -U zrecompile + # vim:ft=zsh diff --git a/.zsh/zshrc/00_recompile b/.zsh/zshrc/00_recompile new file mode 100644 index 0000000..9589a6b --- /dev/null +++ b/.zsh/zshrc/00_recompile @@ -0,0 +1,13 @@ +# zshrc/00_zrecompile +# +# recompile zsh snippets, if necessary +# +# 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 +# + +zrecompile $ZDOTDIR $ZVAR + +# vim:ft=zsh