2016-05-22 07:53:37 +00:00
|
|
|
# Move to home dir
|
|
|
|
|
cd ~/
|
|
|
|
|
|
|
|
|
|
# Link dotfiles to the repo files
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/bashrc ~/.bashrc
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/tmux.conf ~/.tmux.conf
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/vimrc ~/.vimrc
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/Xresources ~/.Xresources
|
|
|
|
|
|
|
|
|
|
# Link to the tmuxinator dir
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/tmuxinator ~/.tmuxinator
|
|
|
|
|
|
2016-05-22 09:34:00 +00:00
|
|
|
# Link to vim plugin autoloader
|
|
|
|
|
mkdir -p ~/.vim/autoload
|
2016-05-22 07:53:37 +00:00
|
|
|
ln -sf ~/.dotfiles/dotfiles/vim/autoload/pathogen.vim ~/.vim/autoload/pathogen.vim
|
|
|
|
|
|
2016-05-22 09:34:00 +00:00
|
|
|
# Install vim plugins
|
|
|
|
|
rm -rf ~/.vim/bundle
|
|
|
|
|
mkdir -p ~/.vim/bundle
|
|
|
|
|
cd ~/.dotfiles
|
|
|
|
|
git submodule init
|
|
|
|
|
git submodule update
|
|
|
|
|
ln -sf ~/.dotfiles/dotfiles/vim/bundle/* ~/.vim/bundle
|
|
|
|
|
cd ~/
|
|
|
|
|
echo "All dotfiles have been installed"
|