sg: disable oh-my-zsh auto-updates when reloading shell env
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🎉