From a0297738de9d1abe9bd92c0e8708f9b49e3a46a2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 2 Jun 2009 11:49:16 +0200 Subject: export-zshrc: Save zshrc version in the tarball --- include/export-zshrc | 1 + 1 file changed, 1 insertion(+) (limited to 'include/export-zshrc') diff --git a/include/export-zshrc b/include/export-zshrc index 62e3852..3c81447 100755 --- a/include/export-zshrc +++ b/include/export-zshrc @@ -13,6 +13,7 @@ cp -a ~/packages/zsh/links packages/zsh mkdir -p packages/zsh/provided mkdir -p var/cache/zsh touch packages/zsh/provided/includes +echo ${${(z)$(git --git-dir=$HOME/packages/core/.git/ log -n 1)}[2]} > packages/zsh/version if [[ -n $(echo packages/zsh/etc/local*(N)) ]] { rm -f packages/zsh/etc/local* } -- cgit v1.2.3