From dd0ae6042dcd690fa561f6e5a610b60ab10f85d5 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 5 May 2008 19:01:04 +0100 Subject: [PATCH] recompile necessary files for each new shell --- .zsh/zshrc/00_autoload | 3 +++ .zsh/zshrc/00_recompile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .zsh/zshrc/00_recompile 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 -- 2.39.5