Skip to content

Commit

Permalink
fix: rearrange the symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Jun 27, 2024
1 parent 5748d15 commit 315572e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 315572e

Please sign in to comment.