mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 08:16:32 +00:00
cleanup vim plug
This commit is contained in:
parent
d8b137e382
commit
5155fd8845
13
install
13
install
@ -38,7 +38,14 @@ if [[ $platform == "Darwin" ]]; then
|
||||
brew bundle --file ./files/Brewfile
|
||||
fi
|
||||
|
||||
|
||||
# NeoVim & Vim Plugins https://github.com/junegunn/vim-plug
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
sh -c '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'
|
||||
for dir in "$HOME/.vim/autoload/plug.vim" "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/autoload/plug.vim"
|
||||
do
|
||||
if [[ ! -f $dir ]]
|
||||
then
|
||||
echo "Installing Plug to: $dir"
|
||||
curl -fLo "$dir" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
else
|
||||
echo "Plug already installed at: $dir"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user