summaryrefslogtreecommitdiff
path: root/include/export-zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'include/export-zshrc')
-rwxr-xr-xinclude/export-zshrc1
1 files changed, 1 insertions, 0 deletions
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*
}