summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/export-zshrc28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/export-zshrc b/include/export-zshrc
deleted file mode 100755
index 1219a8e..0000000
--- a/include/export-zshrc
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env zsh
-## Copyright © 2009 by Daniel Friesel <derf@derf.homelinux.org>
-## License: WTFPL <http://sam.zoy.org/wtfpl>
-setopt err_exit
-result=/tmp/zsh-derf.tar.bz2
-dir=$(mktemp -dt)
-
-cd $dir
-mkdir -p packages/zsh/etc
-
-cp -a ~/packages/zsh/etc packages/zsh
-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/caretaker/.git/ log -n 1)}[2]} > packages/zsh/version
-if [[ -n $(echo packages/zsh/etc/local*(N)) ]] {
- rm -f packages/zsh/etc/local*
-}
-(
- export HOME=$PWD
- cd packages/zsh
- checklinks -p etc=packages/zsh/etc
-)
-tar cjf $result .
-echo $result
-cd ..
-rm -rf $dir