diff options
author | EUcancER <root@euer.krebsco.de> | 2011-11-29 18:24:58 +0100 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-11-29 18:24:58 +0100 |
commit | 6f03367789a96473558fd7dc943907a9ab3aae08 (patch) | |
tree | 4c0f0b872434e041e793e7cdddf92363ab179a0e /infest/profiles/makefu/bootstrap.sh | |
parent | e4b856a32c4df2ab205491b2d3a4b0810631d181 (diff) |
//infest: clean up zshrc
Diffstat (limited to 'infest/profiles/makefu/bootstrap.sh')
-rwxr-xr-x | infest/profiles/makefu/bootstrap.sh | 8 |
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 |