mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Updata install.sh
This commit is contained in:
parent
915614a969
commit
89d3d6186e
1 changed files with 5 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
read -p "All your git, vim, bash, tmux, zsh settings will be deleted [y/n]: " CONTINUE
|
read -p "All your git, vim, bash, tmux, zsh settings will be deleted [y/n]: " CONTINUE
|
||||||
|
|
||||||
if [[ "$CONTINUE" = "y" ]] || [[ "$CONTINUE" = "Y" ]]; then
|
if [[ "$CONTINUE" = "y" ]] || [[ "$CONTINUE" = "Y" ]]; then
|
||||||
rm -rf ~/.vimrc ~/.vim
|
rm -rf ~/.vimrc ~/.vim
|
||||||
rm -rf ~/.gitconfig ~/.git
|
rm -rf ~/.gitconfig ~/.git
|
||||||
|
|
@ -11,6 +10,10 @@ fi
|
||||||
|
|
||||||
read -p "Install vim config [y/n]: " VIM_CONF
|
read -p "Install vim config [y/n]: " VIM_CONF
|
||||||
if [[ "$VIM_CONF" = "y" ]] || [[ "$VIM_CONF" = "Y" ]]; then
|
if [[ "$VIM_CONF" = "y" ]] || [[ "$VIM_CONF" = "Y" ]]; then
|
||||||
|
read -p "Install GVim [y/n]:" INS_GVIM
|
||||||
|
if [[ "$INS_GVIM" = "y" ]] || [[ "$INS_GVIM" = "Y" ]]; then
|
||||||
|
sudo apt-get install -y vim-gui-common
|
||||||
|
fi
|
||||||
sudo apt-get install vim vim-gui-common curl -y
|
sudo apt-get install vim vim-gui-common curl -y
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
mv vimrc ~/.vimrc
|
mv vimrc ~/.vimrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue