-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (29 loc) · 1002 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
29
30
31
32
33
34
35
36
# Makefile for dotfiles in the style of
# http://github.com/mitsuhiko/dotfiles/blob/master/Makefile
# found in https://github.com/sanitz/dotfiles/blob/master/Makefile
install: install-vim install-mutt install-git install-fish install-peco install-misc-rcs
install-vim:
rm -rf ~/.vim ~/.vimrc
ln -s `pwd`/vim ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
install-mutt:
rm -rf ~/.mutt ~/.muttrc ~/.msmtprc ~/.goobookrc ~/.offlineimaprc
ln -s `pwd`/mutt ~/.mutt
ln -s ~/.mutt/muttrc ~/.muttrc
ln -s ~/.mutt/msmtprc ~/.msmtprc
ln -s ~/.mutt/goobookrc ~/.goobookrc
ln -s ~/.mutt/offlineimaprc ~/.offlineimaprc
install-git:
rm -rf ~/.gitconfig ~/.gitignore_global
ln -s `pwd`/git/gitconfig ~/.gitconfig
ln -s `pwd`/git/gitignore_global ~/.gitignore_global
install-fish:
rm -rf ~/.config/fish
ln -s `pwd`/fish ~/.config/fish
install-peco:
rm -rf ~/.config/peco
ln -s `pwd`/peco ~/.config/peco
install-misc-rcs:
rm -rf ~/.wgetrc ~/.ctags
ln -s `pwd`/wgetrc ~/.wgetrc
ln -s `pwd`/ctags ~/.ctags