Add the start of a setup script
This commit is contained in:
parent
e288967e9c
commit
ef2445d2bd
13
setup.sh
Normal file
13
setup.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user