From 08d5f9da90ced143a365949cac15bd7213704a77 Mon Sep 17 00:00:00 2001 From: snow flurry Date: Fri, 5 Aug 2022 22:30:41 -0700 Subject: [PATCH] Add install.sh --- .gitignore | 1 + install.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100755 install.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..47f39ea --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +base/.tmux/tpm diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..1b198d5 --- /dev/null +++ b/install.sh @@ -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