all repos

dotfiles @ 89d3d61

i use rach linux btw
1 files changed, 5 insertions(+), 2 deletions(-)
Updata install.sh
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-06-15 21:36:59 +0300
Parent: 915614a
M install.sh
···
        1
        1
         #!/bin/bash

      
        2
        2
         read -p "All your git, vim, bash, tmux, zsh settings will be deleted [y/n]: " CONTINUE

      
        3
        
        -

      
        4
        3
         if [[ "$CONTINUE" = "y" ]] || [[ "$CONTINUE" = "Y" ]]; then

      
        5
        4
             rm -rf ~/.vimrc ~/.vim

      
        6
        5
             rm -rf ~/.gitconfig ~/.git

      ···
        11
        10
         

      
        12
        11
         read -p "Install vim config [y/n]: " VIM_CONF

      
        13
        12
         if [[ "$VIM_CONF" = "y" ]] || [[ "$VIM_CONF" = "Y" ]]; then

      
        14
        
        -	sudo apt-get install vim vim-gui-common curl -y

      
        
        13
        +	read -p "Install GVim [y/n]:" INS_GVIM

      
        
        14
        +    if [[ "$INS_GVIM" = "y" ]] || [[ "$INS_GVIM" = "Y" ]]; then

      
        
        15
        +        sudo apt-get install -y vim-gui-common

      
        
        16
        +    fi

      
        
        17
        +    sudo apt-get install vim vim-gui-common curl -y

      
        15
        18
         	curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

      
        16
        19
         	mv vimrc ~/.vimrc

      
        17
        20
         fi