]> git.donarmstrong.com Git - zsh.git/commitdiff
recompile necessary files for each new shell
authormartin f. krafft <madduck@madduck.net>
Mon, 5 May 2008 18:01:04 +0000 (19:01 +0100)
committermartin f. krafft <madduck@madduck.net>
Mon, 5 May 2008 18:01:04 +0000 (19:01 +0100)
.zsh/zshrc/00_autoload
.zsh/zshrc/00_recompile [new file with mode: 0644]

index 7d5de0f90adfcda5282cfb3242723b1acd092b6c..a3641302c22932de8b10a294049da96111d688a0 100644 (file)
@@ -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 (file)
index 0000000..9589a6b
--- /dev/null
@@ -0,0 +1,13 @@
+# zshrc/00_zrecompile
+#
+# recompile zsh snippets, if necessary
+#
+# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
+# 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