Skip to content

new terminal using opencode in home dir with snapshot: true will occupy huge storage #16336

Description

@Shana-AE

Description

I think it's common to use opencode to solve some common issue without projects.
And then it's natural to just use opencode in a new created terminal which usually located in home dir.
That's the question, if snapshot: true the whole home dir will be created a snapshot and occupies the storage quickly.
If we set snapshot: false, we need to set snapshot: true in each project folder, that's not convinient.
I think it's intuitive to disable snapshot when opencode opens in a non git folder, at lease disable it in home dir

Plugins

None

OpenCode version

1.2.17

Steps to reproduce

  1. open a new terminal
  2. located in home dir
  3. use opencode
  4. ask some question
  5. the storage is filled by snapshot

Screenshot and/or share link

No response

Operating System

Windows 11 Archlinux wsl

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions