12 lines
419 B
Bash
12 lines
419 B
Bash
|
#!/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
|