-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add git config at install script
- Loading branch information
1 parent
e06580c
commit 6e82233
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!" |