chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-07 05:25:52 +00:00
commit 21a644fef5
12 changed files with 40 additions and 50 deletions

View file

@ -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
})