From 315572e803a46636cebc224186f39df627f8d35b Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Thu, 27 Jun 2024 10:49:40 -0300 Subject: [PATCH] fix: rearrange the symbolic links --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8f9f3a4..2d11b34 100644 --- a/install.sh +++ b/install.sh @@ -71,13 +71,12 @@ brew install git stow --quiet >/dev/null # -- Dotfiles ----------------------------------------------------------------- step_msg "Setting up dotfiles" git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles >/dev/null - -rm -rf ~/.gitconfig cd ~/.dotfiles -stow --dotfiles git ssh brew # -- Productivity Apps --------------------------------------------------------- step_msg "Installing the productivity apps" +stow --dotfiles brew + if [ "$CI" = true ] ; then brew bundle install --file=~/Brewfile else @@ -107,10 +106,13 @@ sh ./iterm/settings.sh # -- Git ----------------------------------------------------------------------- step_msg "Configuring Git" +rm -rf ~/.gitconfig +stow --dotfiles git git config --global user.email "$GIT_EMAIL" # -- SSH Key ------------------------------------------------------------------- step_msg "Generating a new SSH key" +stow --dotfiles ssh rm -rf ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pub ssh-keygen -t ed25519 -C "$GIT_EMAIL" -f ~/.ssh/id_ed25519 -q -N "" >/dev/null eval "$(ssh-agent -s)" >/dev/null