dotfiles2/install.sh

12 lines
419 B
Bash
Raw Normal View History

2022-08-06 05:30:41 +00:00
#!/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