summaryrefslogtreecommitdiff
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
parent5dd7aa0ee9bc2f5eb8c09c996aee25519c628bb0 (diff)
Add tmux-plugin-manager as submodule
-rw-r--r--.gitmodules3
-rw-r--r--.tmux/Makefile14
-rw-r--r--.tmux/tmux.conf (renamed from .tmux.conf)0
m---------.tmux/tpm0
4 files changed, 17 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index b79c5be..7decbb5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,3 +4,6 @@
[submodule ".zsh/zgen"]
path = .zsh/zgen
url = https://github.com/tarjoilija/zgen
+[submodule ".tmux/tpm"]
+ path = .tmux/tpm
+ url = https://github.com/tmux-plugins/tpm
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)
diff --git a/.tmux.conf b/.tmux/tmux.conf
index 989a487..989a487 100644
--- a/.tmux.conf
+++ b/.tmux/tmux.conf
diff --git a/.tmux/tpm b/.tmux/tpm
new file mode 160000
+Subproject 5de37f98bb89cd67901c76a34ad084bb4e35b0b