Added bootstrap to install tmux-tpm and nvchat

This commit is contained in:
Eric Renfro 2024-10-23 00:47:34 -04:00
parent 4bacf7f45e
commit 9ace0d86b6
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

15
.config/yadm/bootstrap Executable file
View file

@ -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