Update bootstrap.sh

fixed mistake in removing vimrc file
pull/3/head
Tech-Learner07 2021-06-22 11:24:27 +05:30 committed by GitHub
parent 01de57b2c8
commit f65661b033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -142,11 +142,10 @@ function configure_vim(){
sudo -u $NEW_USER bash -c 'cp vimrc ~/.vimrc'
sudo -u $NEW_USER bash -c 'vim ~/.vimrc +PlugInstall +q +q'
sudo -u $NEW_USER bash -c 'rm ~/.vimrc'
# Add for the root user as well..
curl -sfLo ~/.vim/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
cp vimrc /etc/vimrc
mv vimrc /etc/vimrc
vim /etc/vimrc +PlugInstall +q +q
}