summaryrefslogtreecommitdiffstats
path: root/infest/profiles/makefu/bootstrap.sh
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-11-29 18:24:58 +0100
committerEUcancER <root@euer.krebsco.de>2011-11-29 18:24:58 +0100
commit6f03367789a96473558fd7dc943907a9ab3aae08 (patch)
tree4c0f0b872434e041e793e7cdddf92363ab179a0e /infest/profiles/makefu/bootstrap.sh
parente4b856a32c4df2ab205491b2d3a4b0810631d181 (diff)
//infest: clean up zshrc
Diffstat (limited to 'infest/profiles/makefu/bootstrap.sh')
-rwxr-xr-xinfest/profiles/makefu/bootstrap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/infest/profiles/makefu/bootstrap.sh b/infest/profiles/makefu/bootstrap.sh
index 1c4f6506..67122d0d 100755
--- a/infest/profiles/makefu/bootstrap.sh
+++ b/infest/profiles/makefu/bootstrap.sh
@@ -12,7 +12,7 @@ fi
# write dotfiles
for dotfile in $(ls .);do
- [ "./$dotfile" == "$0" ] && continue
+ [ "x./${dotfile}" = "x$0" ] && continue
cp -fr --remove-destination $dotfile $HOME/.$dotfile
done
@@ -21,7 +21,7 @@ cd $HOME/.vim
mkdir bundle
mkdir backup
echo "* Fetching vim-vundle"
-git clone https://github.com/gmarik/vundle.git bundle/vundle &>/dev/null && echo "Vim Vundle deployed"
+git clone https://github.com/gmarik/vundle.git bundle/vundle > /dev/null && echo "Vim Vundle deployed"
echo "* Installing Vundle Bundles"
vim "+:BundleInstall" "+:qall"
cd -
@@ -34,8 +34,8 @@ if which zsh &>/dev/null ; then
else
echo "* zsh already set as default shell"
fi
- if [ -d ~/.oh-my-zsh ] ; then
- git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh &> /dev/null && echo "oh-my-zsh deployed"
+ if [ ! -d ~/.oh-my-zsh ] ; then
+ git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh > /dev/null && echo "oh-my-zsh deployed"
else
echo "* oh-my-zsh already installed"
fi