From 0f1d5d8ccd44c19714b07fa57fe5c4dbe529e1c4 Mon Sep 17 00:00:00 2001 From: Sloane Perrault Date: Sun, 17 Jul 2022 09:57:22 -0400 Subject: [PATCH] configure submodules, tmux plugin manager --- .config/yadm/bootstrap.d/000_submodules | 9 +++++++++ .gitmodules | 4 ++++ .tmux/plugins/tpm | 1 + 3 files changed, 14 insertions(+) create mode 100755 .config/yadm/bootstrap.d/000_submodules create mode 100644 .gitmodules create mode 160000 .tmux/plugins/tpm diff --git a/.config/yadm/bootstrap.d/000_submodules b/.config/yadm/bootstrap.d/000_submodules new file mode 100755 index 0000000..ec40544 --- /dev/null +++ b/.config/yadm/bootstrap.d/000_submodules @@ -0,0 +1,9 @@ +#!/bin/sh + +# Because Git submodule commands cannot operate without a work tree, they must +# be run from within $HOME (assuming this is the root of your dotfiles) +cd "$HOME" + +echo "Init submodules" +yadm submodule update --recursive --init + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0b36393 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule ".tmux/plugins/tpm"] + path = .tmux/plugins/tpm + url = https://github.com/tmux-plugins/tpm + branch = master diff --git a/.tmux/plugins/tpm b/.tmux/plugins/tpm new file mode 160000 index 0000000..b699a7e --- /dev/null +++ b/.tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit b699a7e01c253ffb7818b02d62bce24190ec1019