diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | .tmux/Makefile | 14 | ||||
-rw-r--r-- | .tmux/tmux.conf (renamed from .tmux.conf) | 0 | ||||
m--------- | .tmux/tpm | 0 |
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 |