dotfiles/setup.sh

14 lines
403 B
Bash

#!/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