mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update
This commit is contained in:
parent
ad443ef088
commit
4901ad0581
4 changed files with 34 additions and 40 deletions
10
install.sh
10
install.sh
|
|
@ -1,12 +1,12 @@
|
|||
#!/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
|
||||
rm -rf ~/.vimrc ~/.vim
|
||||
rm -rf ~/.gitconfig ~/.git
|
||||
rm -rf ~/.bashrc ~/.bash
|
||||
rm -rf ~/.tmux ~/.tmux
|
||||
rm -rf ~/.zshrci
|
||||
rm -rf ~/.zshrc
|
||||
fi
|
||||
|
||||
read -p "Install vim config [y/n]: " VIM_CONF
|
||||
|
|
@ -41,3 +41,9 @@ if [[ "$ZSH_CONF" = "y" ]] || [[ "$ZSH_CONF" = "Y" ]]; then
|
|||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
mv zshrc ~/.zshrc
|
||||
fi
|
||||
|
||||
if [[ "$VIM_CONF" = "y" ]] || [[ "$VIM_CONF" = "Y" ]]; then
|
||||
clear
|
||||
echo "vim +source~/.vimrc +PlugInstall"
|
||||
echo "For install plugins in vim"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue