Skip to content

Terminal tab title: Show "~" instead of $HOME #274200

Closed

Description

@jdanbrown

I want to use "terminal.integrated.tabs.title": "${cwd}" to see the full path in the title of each terminal tab, but it gets visually really noisy because nearly every terminal tab title starts with my home dir, e.g.

  • /Users/danb/.local/share/opencode
  • /Users/danb/.local/share/opencode/snapshot/9c45fa85ce981595e864eb394465867df6de3383
  • /Users/danb/tmp/a
  • /Users/danb/tmp/b
  • /Users/danb/tmp/c

It'd be more usable and less noisy if vscode instead automatically replaced ^$HOME/ with ~, like this:

  • ~/.local/share/opencode
  • ~/.local/share/opencode/snapshot/9c45fa85ce981595e864eb394465867df6de3383
  • ~/tmp/a
  • ~/tmp/b
  • ~/tmp/c

I don't see a way to do it in my settings.json, so I think vscode would need to do this substitution internally for the ${cwd} variable?

Activity

  1. added
    feature-request
    on Nov 3, 2025
  2. vs-code-engineering commented on Nov 3, 2025

    @vs-code-engineering
    Contributor

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  3. jdanbrown commented on Nov 4, 2025

    @jdanbrown
    ContributorAuthor

    Hmm, I don't think this is the kind of thing that 20 users are going to find and upvote. I think it's just a simple QOL feature that users will unknowingly appreciate if it's there, and quietly be annoyed by if it's not.

    So I went ahead and made a PR, since the change seemed pretty isolated and straightforward:

  4. vs-code-engineering commented on Dec 24, 2025

    @vs-code-engineering
    Contributor

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. jdanbrown commented on Dec 24, 2025

    @jdanbrown
    ContributorAuthor

    Hi bot, I already made a PR seven weeks ago! Can someone please review it? It's pretty simple even.

  6. vs-code-engineering commented on Jan 4, 2026

    @vs-code-engineering
    Contributor

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  7. added
    unreleased
    on Jul 29, 2026
  8. added this to the 1.132.0 milestone on Jul 29, 2026
  9. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedterminal-tabsverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions