Corrected the script I have been working on to work

master
John Hammond 2019-10-01 08:27:15 -04:00
parent 32a9a27da1
commit 4bf4656306
2 changed files with 4 additions and 3 deletions

View File

@ -257,6 +257,7 @@ Installing tmux
``` ```
pacman -Sy tmux pacman -Sy tmux
echo 'source "$HOME/.bashrc"' > ~/.bashrc echo 'source "$HOME/.bashrc"' > ~/.bashrc
```
Installing xrandr Installing xrandr
---------------- ----------------

View File

@ -126,10 +126,10 @@ 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'
# 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"