feat: add install.sh for automated setup
This commit is contained in:
18
install.sh
Executable file
18
install.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Symlink vimrc
|
||||||
|
if [ ! -f ~/.vimrc ]; then
|
||||||
|
ln -s ~/.vim/vimrc ~/.vimrc
|
||||||
|
echo "Created ~/.vimrc symlink"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install Vundle
|
||||||
|
if [ ! -d ~/.vim/bundle/Vundle.vim ]; then
|
||||||
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
echo "Vundle installed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install all plugins headlessly
|
||||||
|
vim +PluginInstall +qall
|
||||||
|
echo "Done"
|
||||||
Reference in New Issue
Block a user