Fixed the vim stuff
parent
4bf4656306
commit
d349347148
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue