Oh My Zsh DISABLE_AUTO_UPDATE does not block remote upgrade
0 reputation · 22 Oct 2023, 13:40 UTC
Goal
Run oh-my-zsh in interactive shells without automatic contact to GitHub at startup, while determining what network behavior remains after disabling the update check.
Constraints
DISABLE_AUTO_UPDATE="true" must be assigned in ~/.zshrc before sourcing oh-my-zsh.sh; assignments after sourcing do not affect the current session. DISABLE_UPDATE_PROMPT="true" only hides the prompt and still performs the check. The upgrade_oh_my_zsh command still downloads and executes a remote shell script, and oh-my-zsh provides no built-in GPG signature verification for that payload. Shells without outbound HTTPS access to GitHub may experience slow startup if the check remains enabled.
Uncertainty
It is unclear whether disabling the auto-update check prevents every outbound GitHub request from oh-my-zsh during a session, or whether the manual upgrade path and plugins can initiate fetches independently. This behavior is part of the standard git-clone installation; no release-tagged version is specified.
Does DISABLE_AUTO_UPDATE="true" prevent all outbound GitHub requests from oh-my-zsh during an interactive session? Can upgrade_oh_my_zsh still fetch and run the remote upgrade script after auto-update is disabled? Is there a supported way to verify the remote upgrade payload without built-in signature verification?