modify installation script

This commit is contained in:
Santiago Forero 2021-08-24 10:16:38 -05:00
parent 97c999a869
commit 5d4f620232
2 changed files with 9 additions and 7 deletions

View File

@ -2,6 +2,13 @@
My linux dotfiles
## Installation
Clone this repository and cd into it.
```bash
git clone https://github.com/forerosantiago/dotfiles.git
cd dotfiles/
```
Just run [this](https://github.com/forerosantiago/dotfiles/blob/main/tools/install.sh) script
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/forerosantiago/dotfiles/main/tools/install.sh)"

View File

@ -1,5 +1,3 @@
programs=("git" "zsh" "tmux" "nvim")
echo "
______
| ___|
@ -22,14 +20,11 @@ echo
fi
cd ~
rm -rf dotfiles
git clone https://github.com/forerosantiago/dotfiles/
cd dotfiles
echo
echo "----------------------------------------------------------------------"
programs=("git" "zsh" "tmux" "nvim")
for i in "${programs[@]}"
do
read -p "$* :: Instal $i dotfiles? [Y/n] " yn