Skip to content

Commit

Permalink
fixup! fixup! fix: remove default gitconfig at macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent 24ef8d8 commit 2dbe41a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ jobs:
run: brew --config

- name: Homebrew install
run: brew install stow
run: |
brew install stow
brew reinstall git
- name: Run install script
timeout-minutes: 30
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/main/install.sh)" >/dev/null
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/main/install.sh)"
env:
CI: true

Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ step_msg "Installing homebrew"

# -- Dotfiles -----------------------------------------------------------------
step_msg "Setting up dotfiles"
git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles
git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles >/dev/null

cd ~/.dotfiles
rm -rf ~/.gitconfig
stow --dotfiles git ssh brew

# -- Productivity Apps ---------------------------------------------------------
step_msg "Installing the productivity apps"
brew bundle install --file=~/Brewfile
brew bundle install --file=~/Brewfile >/dev/null

# -- Oh My Zsh -----------------------------------------------------------------
step_msg "Installing the Oh My Zsh"
# chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended >/dev/null
rm -rf ~/.zshrc
stow --dotfiles zsh
echo "My current shell is $SHELL."
Expand Down

0 comments on commit 2dbe41a

Please sign in to comment.