From 4bf4656306f44f0bf303dfecddec48975140c317 Mon Sep 17 00:00:00 2001 From: John Hammond Date: Tue, 1 Oct 2019 08:27:15 -0400 Subject: [PATCH] Corrected the script I have been working on to work --- README.md | 1 + bootstrap.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04d8d18..eb3d013 100644 --- a/README.md +++ b/README.md @@ -257,6 +257,7 @@ Installing tmux ``` pacman -Sy tmux echo 'source "$HOME/.bashrc"' > ~/.bashrc +``` Installing xrandr ---------------- diff --git a/bootstrap.sh b/bootstrap.sh index c8c4f99..294a130 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -126,10 +126,10 @@ 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' # 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"