Fixed the vim stuff

master
John Hammond 2019-10-01 08:29:09 -04:00
parent 4bf4656306
commit d349347148
1 changed files with 4 additions and 3 deletions

View File

@ -126,10 +126,11 @@ function configure_tmux(){
function configure_vim(){ function configure_vim(){
echo_green "Configuring 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 'cp vimrc ~/.vimrc'
# sudo -u $NEW_USER bash -c 'vim ~/.vimrc +PlugInstall +q +q' 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.. # 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" curl -sfLo ~/.vim/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"