summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-26 15:31:17 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-26 15:31:17 +0200
commit92b9b1cc2821f01012d1ab079fd8e5535d256861 (patch)
tree6df0a2331513f95971cafbcd675ca9c9abcf694c
parent8d87c2d09fdc5a9348bc0ed36137e7b48ad95879 (diff)
bin/bootstrap: Touch .zshrc to avoid stupid warnings, install zsh config afterwards
-rwxr-xr-xbin/bootstrap8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/bootstrap b/bin/bootstrap
index 52a4a76..0826aff 100755
--- a/bin/bootstrap
+++ b/bin/bootstrap
@@ -3,6 +3,10 @@
# After running this, other packages can be installed using 'pkg'
HG=hg
+if ([ ! -e $HOME/.zshrc ]) {
+ RCEMPTY=yes
+ touch $HOME/.zshrc
+}
# Make basic dirctories
mkdir -p ~/bin
@@ -34,3 +38,7 @@ if ([ -d $HOME/packages/.mercurial-bin ]) {
cd ~/packages/.mercurial-bin
~/bin/checklinks
}
+
+[ "$RCEMPTY" = yes ] && rm $HOME/.zshrc
+
+pkg add zsh