From 959a3bde7110b2390d981a710af25c3fdd7dc322 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 7 May 2015 17:59:23 +0100 Subject: update of install file --- make | 63 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 22 deletions(-) (limited to 'make') diff --git a/make b/make index 30891b3..27ecca6 100755 --- a/make +++ b/make @@ -18,30 +18,49 @@ for file in $files; do done # Symlink for neovim +rm ~/.nvim ~/.nvimrc ln -s $dir/vim ~/.nvim ln -s $dir/vimrc ~/.nvimrc # Solarized -cd -rm -rf .solarized -mkdir .solarized -cd .solarized -git clone https://github.com/altercation/mutt-colors-solarized -git clone https://github.com/Anthony25/gnome-terminal-colors-solarized/ -git clone https://github.com/seebi/dircolors-solarized - -cd -rm -rf .vim/bundle -mkdir .vim/bundle -git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle -vim +PluginInstall +qall +mkdir -p ~/.solarized +cd ~/.solarized -cd $dir -cd mutt -mkdir temp - -# Tmux -cd -rm -rf .tmux -git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm -tmux source-file ~/.tmux.conf +if [ ! -d ~/.solarized/mutt-colors-solarized ]; then + git clone https://github.com/altercation/mutt-colors-solarized/ +else + cd mutt-colors-solarized + git pull origin master +fi + +if [ ! -d ~/.solarized/gnome-terminal-colors-solarized ]; then + git clone https://github.com/Anthony25/gnome-terminal-colors-solarized/ +else + cd ~/.solarized/gnome-terminal-colors-solarized + git pull origin master +fi + +if [ ! -d ~/.solarized/dircolors-solarized ]; then + git clone https://github.com/seebi/dircolors-solarized/ +else + cd ~/.solarized/dircolors-solarized + git pull origin master +fi + +if [ ! -d ~/.vim/bundle ]; then + mkdir -p ~/.vim/bundle + git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle +else + cd ~/.vim/bundle/vundle + git pull origin master +fi + +if [ ! -d ~/.tmux/plugins/tpm ]; then + mkdir -p ~/.tmux/plugins + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +else + cd ~/.tmux/plugins/tpm + git pull origin master +fi + +mkdir -p $dir/mutt/temp -- cgit v1.2.3