blob: 4ff03ea42632f016e320061e8f4fb34a1f8a2c17 (
plain) (
blame)
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
|
OS := $(shell uname -s)
LN = @ln -sf
.PHONY: install-general
install-general:
@mkdir -p $(HOME)/.config
@mkdir -p $(HOME)/workspace/
@curl -s https://github.com/fcuny.keys -o $(HOME)/.ssh/authorized_keys
$(LN) $(PWD)/aspell.en.pws $(HOME)/.aspell.en.pws
$(LN) $(PWD)/config/git $(HOME)/.config/
$(LN) $(PWD)/emacs $(HOME)/.config/
$(LN) $(PWD)/tmux.conf $(HOME)/.tmux.conf
$(LN) $(PWD)/zshenv $(HOME)/.zshenv
$(LN) $(PWD)/zshrc $(HOME)/.zshrc
@git config --local user.email "franck@fcuny.net"
@git config --local user.name "Franck Cuny"
.PHONY: check-dead
check-dead:
@find ~ -maxdepth 1 -name '.*' -type l -exec test ! -e {} \; -print
.PHONY: clean-dead
clean-dead:
@find ~ -maxdepth 1 -name '.*' -type l -exec test ! -e {} \; -delete
|