From 1763c3967ebc918e758518442b7e086e6c66fafa Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 30 Dec 2013 03:38:43 +0100 Subject: //infest/profiles -> //ship/src/bootstrap_env_makefu --- infest/profiles/makefu/bootstrap.sh | 44 ------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 infest/profiles/makefu/bootstrap.sh (limited to 'infest/profiles/makefu/bootstrap.sh') diff --git a/infest/profiles/makefu/bootstrap.sh b/infest/profiles/makefu/bootstrap.sh deleted file mode 100755 index 67122d0d..00000000 --- a/infest/profiles/makefu/bootstrap.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -set -euf -cd $(readlink -f $(dirname $0)) -echo "* Using punani to install git vim and zsh" -../../../punani/bin/punani install git vim zsh - -# Backing up false positives -if [ -e $HOME/.vim ] ; then - echo "* Backing up old vim folder" - mv -v $HOME/.vim $HOME/.vim.`date +%Y%M%d` -fi - -# write dotfiles -for dotfile in $(ls .);do - [ "x./${dotfile}" = "x$0" ] && continue - cp -fr --remove-destination $dotfile $HOME/.$dotfile -done - -#install all the vim stuff with the help of vundle -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" -echo "* Installing Vundle Bundles" -vim "+:BundleInstall" "+:qall" -cd - - - -if which zsh &>/dev/null ; then - if [ "x$SHELL" != "x`which zsh`" ] ;then - echo "* setting zsh as new shell,please enter your user password" - chsh -s `which zsh` - 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" - else - echo "* oh-my-zsh already installed" - fi -else - echo "* cannot find zsh :(" -fi -- cgit v1.2.3