From ef2445d2bd45e2474efe827bfcfd14a31b4e171f Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 12 Dec 2020 23:12:28 -0700 Subject: [PATCH] Add the start of a setup script --- setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..003a15c --- /dev/null +++ b/setup.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# This script sets up the configuration from this repository + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +# Link Neovim config +mkdir -p ~/.config +cd ~/.config +ln -s $DIR/nvim + +# Install VimPlug +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