dotfiles/install.sh
2013-04-22 12:02:06 -05:00

23 lines
468 B
Bash
Executable File

#!/bin/bash
dir=~/dotfiles
files="vimrc tmux.conf zshrc conkyrc"
cd $dir
for file in $files; do
ln -s $dir/$file ~/.$file
done
chmod +x dwmstart
ln -s $dir/dwmstart ~/dwmstart
if [ ! -d ~/.vim/bundle/vundle ]; then
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall
fi
if [ ! -d ~/.oh-my-zsh ]; then
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s 'which zsh'
fi