From f65661b033d69d0fb3a2ef7327018559e8d135fa Mon Sep 17 00:00:00 2001 From: Tech-Learner07 <74245472+Tech-Learner07@users.noreply.github.com> Date: Tue, 22 Jun 2021 11:24:27 +0530 Subject: [PATCH] Update bootstrap.sh fixed mistake in removing vimrc file --- bootstrap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 284e864..880901e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 }