-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
50 lines (40 loc) · 1.48 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
help:
@echo " install-linux dotfiles for linux"
@echo " install-osx dotfiles for osx"
@echo " =========== single commands ==========="
@echo " install-git git dotfiles"
@echo " install-bash bash dotfiles"
@echo " install-bash-osx bash_profile for osx"
@echo " install-emacs emacs dotfiles"
@echo " install-vim vim dotfiles"
@echo " install-vim-basic vim basic dotfiles (without plugins)"
@echo " install-scripts installs some scripts"
install-linux: install-vim install-emacs install-bash install-git install-scripts
install-osx: install-vim install-emacs install-bash-osx install-git
install-vim:
rm -rf ~/.vim ~/.vim_runtime ~/.vimrc
ln -sfT `pwd`/vim ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
install-vim-basic:
rm -rf ~/.vim ~/.vim_runtime ~/.vimrc
ln -sfT `pwd`/vim ~/.vim_runtime
sh ~/.vim_runtime/install_basic_vimrc.sh
install-emacs:
rm -rf ~/.emacs.d
ln -sfT `pwd`/emacs.d ~/.emacs.d
install-bash:
rm -f ~/.bashrc
ln -sfT `pwd`/bash/bashrc ~/.bashrc
install-bash-osx: install-bash
rm -f ~/.bash_profile
ln -sfT ~/.bash.d/bash_profile ~/.bash_profile
install-git:
rm -f ~/.gitconfig
ln -sfT `pwd`/git ~/.git.d
ln -sfT ~/.git.d/gitconfig ~/.gitconfig
ln -sfT ~/.git.d/gitignore ~/.gitignore
install-scripts:
ln -sfT `pwd`/scripts/clean_aur_cache.py ~/.bin/clean_aur_cache.py
ln -sfT `pwd`/scripts/compare_dirs.py ~/.bin/compare_dirs.py
ln -sfT `pwd`/scripts/pwcomp.py ~/.bin/pwcomp.py
ln -sfT `pwd`/scripts/checksize.sh ~/.bin/checksize.sh