summaryrefslogtreecommitdiff
path: root/.tmux/Makefile
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-16 16:08:19 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-16 16:08:19 +0100
commit64ea5975e6e63cb54b2abf54d5c3ad661280e823 (patch)
tree1718cd2594673198a36ce6709cbd7ce474f2c69a /.tmux/Makefile
parent5dd7aa0ee9bc2f5eb8c09c996aee25519c628bb0 (diff)
Add tmux-plugin-manager as submodule
Diffstat (limited to '.tmux/Makefile')
-rw-r--r--.tmux/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/.tmux/Makefile b/.tmux/Makefile
new file mode 100644
index 0000000..bb4db43
--- /dev/null
+++ b/.tmux/Makefile
@@ -0,0 +1,14 @@
+HOME=/home/urbain
+TARGETS=$(addprefix $(HOME)/,.tmux.conf .tmux/plugins/tpm)
+
+all : $(TARGETS)
+
+$(HOME)/.tmux.conf :
+ rm -f $@ && ln -s $(PWD)/tmux.conf $@
+
+$(HOME)/.tmux/plugins/tpm :
+ mkdir -p $(HOME)/.tmux/plugins
+ rm -f $@ && ln -s $(PWD)/tpm $@
+
+clean :
+ rm -f $(TARGETS)