-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (29 loc) · 905 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
37
38
39
all: .base_alias .bashrc .dev_alias .export .git_alias .tmux.conf .zsh_alias .zshrc .vimrc
.base_alias:
ln -s ~/dotfiles/alias/base_alias ~/.base_alias
.bashrc:
ln -s ~/dotfiles/bashrc ~/.bashrc
.dev_alias:
ln -s ~/dotfiles/alias/dev_alias ~/.dev_alias
.export:
ln -s ~/dotfiles/export ~/.export
.git_alias:
ln -s ~/dotfiles/alias/git_alias ~/.git_alias
.tmux.conf:
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
.zsh_alias:
ln -s ~/dotfiles/alias/zsh_alias ~/.zsh_alias
.zshrc:
ln -s ~/dotfiles/zshrc ~/.zshrc
.vimrc:
ln -s ~/dotfiles/vimrc ~/.vimrc
clear:
[ -L ~/.base_alias ] && rm ~/.base_alias
[ -L ~/.bashrc ] && rm ~/.bashrc
[ -L ~/.dev_alias ] && rm ~/.dev_alias
[ -L ~/.export ] && rm ~/.export
[ -L ~/.git_alias ] && rm ~/.git_alias
[ -L ~/.tmux.conf ] && rm ~/.tmux.conf
[ -L ~/.zsh_alias ] && rm ~/.zsh_alias
[ -L ~/.zshrc ] && rm ~/.zshrc
[ -L ~/.vimrc ] && rm ~/.vimrc