diff --git a/.github/workflows/health-check.yml b/.github/workflows/health-check.yml index beaeac1..dc69581 100644 --- a/.github/workflows/health-check.yml +++ b/.github/workflows/health-check.yml @@ -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 diff --git a/install.sh b/install.sh index cfa9224..e384823 100644 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ 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 @@ -38,12 +38,12 @@ 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."