Skip to content

feat: Add option to show full absolute path for {projectName}#72

Merged
mohak34 merged 1 commit into
mohak34:mainfrom
lenitain:lenitain/show-full-path
May 9, 2026
Merged

feat: Add option to show full absolute path for {projectName}#72
mohak34 merged 1 commit into
mohak34:mainfrom
lenitain:lenitain/show-full-path

Conversation

@lenitain

Copy link
Copy Markdown

Currently {projectName} in notification titles only shows the folder name (via basename(directory)). When working on multiple projects with the same folder name (e.g. multiple src or app directories), notifications are ambiguous.

Proposed solution

Add a config option like showFullPath: true that makes {projectName} and the notification title display the full absolute path instead of just the basename.

{
  "showProjectName": true,
  "showFullPath": true
}

Expected result: OpenCode (/home/user/projects/myapp) instead of OpenCode (myapp).

…ications

Add a new boolean config option showFullPath (default: false) that makes
{projectName} token and notification titles display the full absolute
path instead of just the folder basename.

When enabled, shows OpenCode (/home/user/projects/myapp) instead of
OpenCode (myapp). Useful when running multiple sessions across different
projects with the same folder name.

Co-Authored-By: opencode <noreply@opencode.ai>
@mohak34 mohak34 merged commit 78c0520 into mohak34:main May 9, 2026
1 check passed
@lenitain lenitain deleted the lenitain/show-full-path branch May 11, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants