summaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
commitb920816216cb161449dcf03ffe964c667c7b36c2 (patch)
tree8f666cc88277df541e3364fbc45dcd63acd7a45e /.zsh
parent63a9e763db248af694edc3755a288f2bfb73c834 (diff)
Split install file
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/Makefile13
-rw-r--r--.zsh/tmp3
2 files changed, 13 insertions, 3 deletions
diff --git a/.zsh/Makefile b/.zsh/Makefile
new file mode 100644
index 0000000..3593740
--- /dev/null
+++ b/.zsh/Makefile
@@ -0,0 +1,13 @@
+HOME=/home/urbain
+TARGETS=$(addprefix $(HOME)/,.zsh .zshrc)
+
+all : $(TARGETS)
+
+$(HOME)/.zshrc :
+ rm -f $@ && ln -s $(PWD)/zshrc $@
+
+$(HOME)/.zsh :
+ rm -f $@ && ln -s $(PWD) $@
+
+clean :
+ rm -f $(TARGETS)
diff --git a/.zsh/tmp b/.zsh/tmp
deleted file mode 100644
index aab86c2..0000000
--- a/.zsh/tmp
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/zsh
-
-export COLORSCHEME=light