summaryrefslogtreecommitdiff
path: root/install.sh
blob: 95567e381aa2524dd313fdeadd006f4cb7ed6a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

dir=~/dotfiles
olddir=~/dotfiles_old
files="bashrc vimrc zshrc muttrc vim xmodmap"

mkdir -p $olddir
cd $dir
for file in $files; do
    echo $file
    mv ~/.$file ~/dotfiles_old/
    ln -s $dir/.$file ~
done

rm -rf .vim/bundle
mkdir .vim/bundle
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +PluginInstall +qall