Corrected the script I have been working on to work
parent
32a9a27da1
commit
4bf4656306
|
@ -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
|
||||||
----------------
|
----------------
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue