-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·38 lines (31 loc) · 799 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·38 lines (31 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
dotfiles=$(pwd)
# Clone Vundle first
git clone https://github.com/gmarik/Vundle.vim.git $dotfiles/.vim/bundle/Vundle.vim
# Install all plugins
vim +PluginInstall +qall
# Compile YouCompleteMe
if [ -e $dotfiles/.vim/bundle/YouCompleteMe/install.sh ]
then
echo "++ Compiling YouCompleteMe!"
cd $dotfiles/.vim/bundle/YouCompleteMe/
./install.sh --clang-completer
fi
# Compile vimproc
if [ -e $dotfiles/.vim/bundle/vimproc.vim/Makefile ]
then
echo "++ Compiling vimproc!"
cd $dotfiles/.vim/bundle/vimproc.vim/
make
fi
# Create symbolic links
cd ~/
ln -s $dotfiles/.vim
ln -s $dotfiles/.vimrc
ln -s $dotfiles/.inputrc
ln -s $dotfiles/.gitconfig
ln -s $dotfiles/.bash_aliases
ln -s $dotfiles/.tmux.conf
# Return where we started
cd $dotfiles
echo "++ Installation completed!"