From 9ace0d86b647d85bdccd1ff7cbd678074cb0011d Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 23 Oct 2024 00:47:34 -0400 Subject: [PATCH] Added bootstrap to install tmux-tpm and nvchat --- .config/yadm/bootstrap | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .config/yadm/bootstrap diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap new file mode 100755 index 0000000..2b3bd58 --- /dev/null +++ b/.config/yadm/bootstrap @@ -0,0 +1,15 @@ +#!/bin/bash + +system_type=$(uname -s) + +if [[ "$system_type" == "Linux" || "$system_type" == "Darwin" ]]; then + if command -v git >/dev/null 2>&1; then + if [[ ! -d "${HOME}/.config/nvim" ]]; then + git clone https://github.com/NvChad/starter ~/.config/nvim + fi + if [[ ! -d "${HOME}/.tmux/plugins/tpm" ]]; then + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm + fi + fi +fi +