diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-26 15:31:17 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-26 15:31:17 +0200 |
commit | 92b9b1cc2821f01012d1ab079fd8e5535d256861 (patch) | |
tree | 6df0a2331513f95971cafbcd675ca9c9abcf694c /bin | |
parent | 8d87c2d09fdc5a9348bc0ed36137e7b48ad95879 (diff) |
bin/bootstrap: Touch .zshrc to avoid stupid warnings, install zsh config afterwards
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bootstrap | 8 |
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 |