-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (46 loc) · 1.42 KB
/
Makefile
File metadata and controls
54 lines (46 loc) · 1.42 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
install: install-vim install-bin install-other install-nvim install-xfce
install-vim:
rm -rf ~/.vim ~/.vimrc
ln -s `pwd`/vim ~/.vim
ln -s ~/.config/nvim/init.vim ~/.vimrc
vim +PlugInstall +qall
# [ -d ~/.eclim ] && ln -s ~/.eclim ~/.vim/eclim
install-nvim:
rm -rf ~/.config/nvim
ln -s `pwd`/nvim ~/.config/nvim
mkdir -p ~/.cache/nvim/swp
mkdir -p ~/.cache/nvim/tmp
mkdir -p ~/.cache/nvim/undo
nvim +PlugInstall +qall
install-bin:
rm -rf ~/.bin
ln -s `pwd`/bin ~/.bin
install-other:
rm -f ~/.ghci
ln -s `pwd`/other/ghci ~/.ghci
rm -f ~/.ocamlinit
ln -s `pwd`/other/ocamlinit ~/.ocamlinit
rm -f ~/.Xmodmap
ln -s `pwd`/other/Xmodmap ~/.Xmodmap
rm -f ~/.taskrc
ln -s `pwd`/other/taskrc ~/.taskrc
install-git:
rm -f ~/.gitconfig
ln -s `pwd`/git/gitconfig ~/.gitconfig
rm -f ~/.global_gitattributes
ln -s `pwd`/git/global_gitattributes ~/.global_gitattributes
rm -f ~/.global_gitignore
ln -s `pwd`/git/global_gitignore ~/.global_gitignore
install-vifm:
rm -rf ~/.vifm
ln -s `pwd`/vifm ~/.vifm
install-vimperator:
rm -rf ~/.vimperator ~/.vimperatorrc
ln -s `pwd`/vimperator ~/.vimperator
ln -s ~/.vimperator/vimperatorrc ~/.vimperatorrc
install-weechat:
rm -rf ~/.weechat
[ -d "$$HOME/.weechat-logs" ] || mkdir ~/.weechat-logs
ln -s `pwd`/weechat ~/.weechat
[ -e "$$HOME/.weechat/logs" ] || ln -s ~/.weechat-logs ~/.weechat/logs
[ -f "$$HOME/.weechat/sec.conf" ] || cp ~/.weechat/sec.conf.example ~/.weechat/sec.conf