dootfiles/.config/yadm/bootstrap.d/shell

23 lines
736 B
Bash
Executable file

#!/bin/bash
if [[ ! -r "$HOME/.local/share/blesh/ble.sh" ]]; then
echo "+ ble.sh"
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.github
make -C ble.sh install PREFIX="$HOME/.local"
rm -rf ble.sh
fi
if [[ ! -d "$HOME/.tmux/plugins" ]]; then
echo "+ TMux Plugin Manager"
mkdir -p "$HOME/.tmux/plugins"
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
fi
if [[ ! -d "$HOME/.config/nvim" ]]; then
echo "+ NvChad"
git clone https://github.com/NvChad/starter ~/.config/nvim
nvim --headless "+Lazy! sync" +qa
nvim --headless "+MasonInstallAll" +qa
#echo "! Run :MasonInstallAll while running nvim to finish NvChat install"
fi