gitstatus failed to initialize #6234

Open
opened 2026-02-16 18:02:03 -05:00 by yindo · 0 comments
Owner

Originally created by @popwalker on GitHub (Jan 15, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

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


Error: Failed to spawn OpenCode Server. Logs:
[STDERR] 
[STDERR] [ERROR]: 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] 
[STDERR]     +(anon):7> setopt monitor
[STDERR]     (anon):setopt:7: can't change option: monitor
[STDERR]     +(anon):7> return
[STDERR] 
[STDERR]   System information:
[STDERR] 
[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] 
[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

Originally created by @popwalker on GitHub (Jan 15, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description when i installed desktop opencode, and open it,occur this error: ``` Error: Failed to spawn OpenCode Server. Logs: [STDERR] [STDERR] [ERROR]: 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]  [STDERR] +(anon):7> setopt monitor [STDERR] (anon):setopt:7: can't change option: monitor [STDERR] +(anon):7> return [STDERR]  [STDERR] System information: [STDERR]  [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]  [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 <img width="2142" height="1538" alt="Image" src="https://github.com/user-attachments/assets/7bc638ea-32c8-4910-878a-09e523f4348a" /> ### Operating System macOS Apple M2 Pro ### Terminal iTerm2
yindo added the bugweb labels 2026-02-16 18:02:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6234