Add install.sh
This commit is contained in:
parent
3d864b1114
commit
08d5f9da90
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
base/.tmux/tpm
|
11
install.sh
Executable file
11
install.sh
Executable 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
|
Loading…
Reference in a new issue