Skip to content

gitstatus failed to initialize #8690

Closed
Closed

Description

@popwalker

Description

when i installed desktop opencode, and open it,occur this error:


Error: Failed to spawn OpenCode Server. Logs:
[STDERR] 
[STDERR] [�[31mERROR�[39m]: gitstatus failed to initialize.
[STDERR] 
[STDERR] 
[STDERR]   Zsh log (/private/var/folders/86/gwrj0wtn1pd30llbf2x0f_3h0000gn/T/gitstatus.POWERLEVEL9K.501.9581.1768489136.1.xtrace.log):
[STDERR] �[33m
[STDERR]     +(anon):7> setopt monitor
[STDERR]     (anon):setopt:7: can't change option: monitor
[STDERR]     +(anon):7> return
[STDERR] �[39m
[STDERR]   System information:
[STDERR] �[33m
[STDERR]     zsh:      5.9
[STDERR]     uname -a: Darwin MacBook-Pro.local 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11 21:16:34 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6020 arm64
[STDERR] �[39m
[STDERR]   If you need help, open an issue and attach this whole error message to it:
[STDERR] 
[STDERR]     https://github.com/romkatv/gitstatus/issues/new
[STDOUT] opencode server listening on http://127.0.0.1:53427

zu@tauri://localhost/assets/index-D-5zzoZR.js:2:11977
@tauri://localhost/assets/index-D-5zzoZR.js:2:4664

but when i use opencode-cli, it's ok
my env: zsh, oh-my-zsh, power10k

Plugins

oh-my-opencode

OpenCode version

opencode desktop beta

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS Apple M2 Pro

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues all involve zsh-related startup failures on macOS with similar root causes (zsh configuration/gitstatus conflicts).

    Feel free to ignore if your specific case differs from these.

  2. popwalker commented on Jan 16, 2026

    @popwalker
    Author

    after I uninstalled power10k, openCode worked fine. but I still want my power10k back!!!

  3. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions