chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-07 05:25:52 +00:00
parent 6d58d5cde1
commit be25eb2b0a
12 changed files with 40 additions and 50 deletions
@@ -16,9 +16,7 @@ function Directory(props: { api: TuiPluginApi }) {
if (!selected || selected.type === "new") return
const out = abbreviateHome(selected.directory, paths.home)
const branch =
selected.directory === (props.api.state.path.directory || paths.cwd)
? props.api.state.vcs?.branch
: undefined
selected.directory === (props.api.state.path.directory || paths.cwd) ? props.api.state.vcs?.branch : undefined
if (branch) return out + ":" + branch
return out
})