Skip to content

[FEATURE]: Allow using $HOME variable in tui.json plugin path #25390

@flexdinesh

Description

@flexdinesh

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently the plugin paths in tui.json only works if the path is absolute. Would make it easier to manage dotfiles across different machines with different users if the path would work with $HOME variable expansion.

Current:

{
  "plugin": [
    "/home/myuser/workspace/oc-timer/tui.tsx",
    "/home/myuser/workspace/tokeninspector/plugins/opencode-tui/oc-tokeninspector.tsx"
  ]
}

Proposed:

{
  "plugin": [
    "$HOME/workspace/oc-timer/tui.tsx",
    "$HOME/workspace/tokeninspector/plugins/opencode-tui/oc-tokeninspector.tsx"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type
    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