Skip to content

[Bug]: Reinstall opencode overwrote my config #556

@eleqtrizit

Description

@eleqtrizit

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

I'm having trouble configuring some models, so I thought I'd just run the bun command again to reinstall. And it overwrote my oh-my-opencode.json file completely. Can we not do that, please?

Steps to Reproduce

bunx opencode install

Expected Behavior

Ask me if I want to overwrite my config, at least.

Actual Behavior

overwrote my config

Doctor Output

not relevant

Error Logs

Configuration

Additional Context

No response

Operating System

macOS

OpenCode Version

1.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions