]> git.madduck.net Git - etc/zsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

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