diff --git a/Makefile b/Makefile index 1f59414..e8d1339 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ help: ## Show help. del: ## delete your environment configuration @stow --dotfiles -D git + @stow -t ~/.ssh -D ssh @rm -rf ~/Projects @rm -rf ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pub diff --git a/install.sh b/install.sh index b764f9d..b6f5252 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ read -p "What is your email? " GIT_EMAIL -print "\nPlease wait! It will configure your environment. \n" +printf "\nPlease wait! It will configure your environment.\n" echo "[1/4] Creating the Projects folder..." mkdir ~/Projects @@ -11,6 +11,7 @@ git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles cd ~/.dotfiles stow --dotfiles git +stow -t ~/.ssh ssh echo "[3/4] Configuring Git..." git config --global user.email $GIT_EMAIL diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..081cd44 --- /dev/null +++ b/ssh/config @@ -0,0 +1,3 @@ +Host github.com + AddKeysToAgent yes + IdentityFile ~/.ssh/id_ed25519