From d349347148eba9058d89c55a8bf7dc4b949d17fe Mon Sep 17 00:00:00 2001 From: John Hammond Date: Tue, 1 Oct 2019 08:29:09 -0400 Subject: [PATCH] Fixed the vim stuff --- bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 294a130..b20091b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -126,10 +126,11 @@ function configure_tmux(){ function configure_vim(){ echo_green "Configuring vim..." - # sudo -u $NEW_USER bash -c 'curl -sfLo ~/.vim/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"' + sudo -u $NEW_USER bash -c 'curl -sfLo ~/.vim/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.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 '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"