Skip to content
    ↑↓ select↵ openesc close
    English中文
    levibostian

    Pwd Title

    v0.1.0Git & VCS
    @levibostian/opencode-pwd-title

    opencode plugin to set the title to current directory and git branch, similar to what opencode does.

    Actively maintained
    GitHub stars

    0

    Monthly installs

    6

    1 in 7 days

    Composite scoreSCORE

    18.8

    Multi-signal model

    Last commit

    4 months ago

    2026-04-21

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@levibostian/opencode-pwd-title@0.1.0"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    opencode plugin to set the title to current directory and git branch, similar to the format that opencode uses in the footer.

    Example: ~/path/to/repo:main (path to repo, relative to home directory, followed by git branch if in a git repo)

    This plugin tries to set the title as often as possible to keep it up-to-date. Sometimes (like when opening opencode or immediately after switching sessions) the title will not be set by this plugin but after you send a prompt, the title will be updated.

    Installation

    Add to ~/.config/opencode/opencode.json:

    {
      "plugin": ["@levibostian/opencode-pwd-title"]
    }
    

    Why?

    I don't like how opencode changes the title of the tabs in my terminal, making it hard to differentiate between different tabs working on different Git workspaces. I want a plugin that restores the title back to what it would be if opencode were not running. The goal - set a simple title and enforce it as much as possible.