15 lines
410 B
Bash
Executable file
15 lines
410 B
Bash
Executable file
#!/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
|
|
|