Add the start of a setup script

This commit is contained in:
Raoul Snyman 2020-12-12 23:12:28 -07:00
parent e288967e9c
commit ef2445d2bd
No known key found for this signature in database
GPG Key ID: 423F9B322D9BEF2C
1 changed files with 13 additions and 0 deletions

13
setup.sh Normal file
View File

@ -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