dotfiles2/install.sh
2022-08-05 22:30:41 -07:00

12 lines
419 B
Bash
Executable file

#!/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