Add install.sh

This commit is contained in:
snow flurry 2022-08-05 22:30:41 -07:00
parent 3d864b1114
commit 08d5f9da90
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
base/.tmux/tpm

11
install.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
stow $PWD/base
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
if command -v nvim >/dev/null ; then
echo "Installing Neovim plugins..."
curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim +'PlugInstall --sync' +'UpdateRemotePlugins' +qa
fi