-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (19 loc) · 874 Bytes
/
Makefile
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
HERE=$(shell readlink -m $(CURDIR))
install: vim bash tmux
update:
git pull
vim: vim-pathogen
echo "source $(HERE)/vimrc.vim" >> ~/.vimrc
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
echo "source $(HERE)/vimrc-nerdtree.vim" >> ~/.vimrc
git clone https://github.com/christoomey/vim-tmux-navigator ~/.vim/bundle/vim-tmux-navigator
git clone git://github.com/altercation/vim-colors-solarized.git ~/.vim/bundle/vim-tmux-navigator
vim-pathogen: ~/.vim/autoload/pathogen.vim
~/.vim/autoload/pathogen.vim:
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
echo "execute pathogen#infect()" >> ~/.vimrc
bash:
echo "source $(HERE)/bashrc.bash" >> ~/.bashrc
echo "source $(HERE)/git-completion.bash" >> ~/.bashrc
tmux:
echo "source-file $(HERE)/tmuxrc.tmux">> ~/.tmux.conf