-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
71 lines (61 loc) · 2.37 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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-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 ~/.gemrc
ln -s `pwd`/other/gemrc ~/.gemrc
rm -f ~/.Xmodmap
ln -s `pwd`/other/Xmodmap ~/.Xmodmap
rm -f ~/.taskrc
ln -s `pwd`/other/taskrc ~/.taskrc
rm -f ~/.irbrc
ln -s `pwd`/other/irbrc ~/.irbrc
rm -f ~/.config/autostart-scripts/ssh-add.sh
ln -s `pwd`/other/ssh-add.sh ~/.config/autostart-scripts/ssh-add.sh
rm -f ~/.config/redshift.conf
ln -s `pwd`/other/redshift.conf ~/.config/redshift.conf
install-xfce:
rm ~/.config/Thunar/uca.xml
ln -s `pwd`/thunar/uca.xml ~/.config/Thunar/uca.xml
rm ~/.config/Thunar/renamerrc
ln -s `pwd`/thunar/renamerrc ~/.config/Thunar/renamerrc
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-awesome:
rm -rf ~/.config/awesome
ln -s `pwd`/awesome ~/.config/awesome
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
install-dropbox:
ln -s /media/magazyn/Dropbox/Dokumenty ~/Dokumenty
ln -s /media/magazyn/Dropbox/Obrazy ~/Obrazy
install-qnapi:
mkdir -p ~/.kde/share/apps/dolphin/servicemenus/
rm -f ~/.kde/share/apps/dolphin/servicemenus/qnapi-download.desktop
ln -s /usr/share/doc/qnapi/qnapi-download.desktop ~/.kde/share/apps/dolphin/servicemenus/qnapi-download.desktop
mkdir -p ~/.kde/share/apps/d3lphin/servicemenus/
rm -f ~/.kde/share/apps/d3lphin/servicemenus/qnapi-download.desktop
ln -s /usr/share/doc/qnapi/qnapi-download.desktop ~/.kde/share/apps/d3lphin/servicemenus/qnapi-download.desktop
mkdir -p ~/.kde/share/apps/konqueror/servicemenus/
rm -f ~/.kde/share/apps/konqueror/servicemenus/qnapi-download.desktop
ln -s /usr/share/doc/qnapi/qnapi-download.desktop ~/.kde/share/apps/konqueror/servicemenus/qnapi-download.desktop