diff options
author | Cody Hiar <cody@hiar.ca> | 2021-02-02 10:59:27 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-02-02 10:59:27 -0700 |
commit | d116eda691fb901ae45ed3c571b8c50741a05a8b (patch) | |
tree | de16488c8cebd34f2c08cc7738ad618a3648a4a1 /install | |
parent | ac3331801c9fd9f78d4d957acf687db77a1f2b7e (diff) |
Updating few things
Diffstat (limited to 'install')
-rwxr-xr-x | install | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +readonly PLUG_FILE="${HOME}/.config/nvim/autoload/plug.vim" +readonly PLUG_URL="https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" + +# Install plug if it doesn't exist +[[ ! -f "${PLUG_FILE}" ]] && curl -fLo "${PLUG_FILE}" --create-dirs "${PLUG_URL}" &> /dev/null +# Install neovim plugins +nvim -i NONE -c PlugInstall -c quitall > /dev/null 2>&1 |