Skip to content

sg: disable oh-my-zsh auto-updates when reloading shell env

Administrator requested to merge sg-hacking-hour/oh-my-zsh into main

Created by: mrnugget

This caused problems before for oh-my-zsh users in the form of sg start being stuck, because the checks it runs restarted ZSH under the hood and oh-my-zsh was waiting for user input ("Do you want to update oh-my-zsh?").

This fixes #33431 (closed).

Test plan

Listen to this:

  • Installed oh-my-zsh
  • Changed its source to always auto-update
  • Ran sg start
  • Saw the checks hanging
  • Added the changes in this PR, reran sg start, everything passed 🎉

Merge request reports

Loading