-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
38 lines (33 loc) · 1.33 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
install: uninstall
ln -s $(CURDIR)/bash_aliases $(HOME)/.bash_aliases
ln -s $(CURDIR)/colordiffrc $(HOME)/.colordiffrc
ln -s $(CURDIR)/editorconfig $(HOME)/.editorconfig
ln -s $(CURDIR)/gitexcludes $(HOME)/.gitexcludes
ln -s $(CURDIR)/tmux.conf $(HOME)/.tmux.conf
ln -s $(CURDIR)/tmux-osx.conf $(HOME)/.tmux-osx.conf
ln -s $(CURDIR)/zshrc $(HOME)/.zshrc
ln -s $(CURDIR)/zshenv $(HOME)/.zshenv
ln -s $(CURDIR)/twisty.zsh-theme $(HOME)/.oh-my-zsh/themes/twisty.zsh-theme
ln -s $(CURDIR)/gruvbox.dircolors $(HOME)/.dircolors
uninstall:
rm -f $(HOME)/.bash_aliases
rm -f $(HOME)/.colordiffrc
rm -f $(HOME)/.editorconfig
rm -f $(HOME)/.gitexcludes
rm -f $(HOME)/.tmux.conf
rm -f $(HOME)/.tmux-osx.conf
rm -f $(HOME)/.zshrc
rm -f $(HOME)/.zshenv
rm -f $(HOME)/.oh-my-zsh/themes/twisty.zsh-theme
rm -f $(HOME)/.dircolors
defaults:
git config --global color.ui true
git config --global color.diff.meta "yellow black"
git config --global core.excludesfile '~/.gitexcludes'
git config --global core.editor vim
git config --global credential.helper store
git config --global push.default simple
defaults-mac:
git config --global credential.helper store
defaults-wsl:
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"