Skip to content

Commit

Permalink
feat: add git config at install script
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 6, 2024
1 parent e06580c commit 6e82233
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
#!/bin/bash

echo "[1/2] Creating the Projects folder..."
read -p "What is your email? " GIT_EMAIL

print "\nPlease wait! It will configure your environment. \n"
echo "[1/3] Creating the Projects folder..."
mkdir ~/Projects

echo "[2/2] Setting up dotfiles..."
echo "[2/3] Setting up dotfiles..."
git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles

cd ~/.dotfiles
stow --dotfiles git

echo "Success Everythings is ready!"
echo "Have a nice day!"
echo "[3/3] Configuring Git..."
git config --global user.email $GIT_EMAIL

printf "\nSuccess Everythings is ready!"
printf "\nHave a nice day!"

0 comments on commit 6e82233

Please sign in to comment.