12 lines
339 B
Bash
Executable File
12 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DEST=${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim"
|
|
|
|
if ! [[ -f "$DEST" ]]; then
|
|
echo "installing vim-plug for nvim"
|
|
sh -c 'curl -fLo "$DEST" --create-dirs \
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|
fi
|
|
echo "installing nvim plugins"
|
|
nvim +PlugInstall
|