Skip to content

check_for_upgrade fails on MacOS terminal launch #12781

Closed
@Oozlum

Description

Describe the bug

Automatic upgrade fails to run on MacOS when launching a terminal -- both the native terminal and wezterm have been tried.

The offending test appears to be if [[ ! -t 1 ]] which for some reason evaluates to true when either terminal is first launched.

If source .oh-my-zsh/tools/check_for_upgrade.sh is invoked manually after launch, this test evaluates to false and the upgrade runs as expected.

Steps to reproduce

Launch a terminal on MacOS.

Expected behavior

Automatic updates should run when using MacOS terminals.

Screenshots and recordings

No response

OS / Linux distribution

MacOS 15.0.1

Zsh version

5.9

Terminal emulator

Terminal.app, Wezterm

If using WSL on Windows, which version of WSL

None

Additional context

No response

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions