microsoft / microsoft/terminal

Request: "Tab title" text resolves environment variables

Open
#10,144 12 comments 2 reactions 0 assignees View on GitHub
Area-UserInterface Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement
When entering the "Tab title" text in the settings, it would be great if environment variables could be resolved. When I've tried this, for example with standard Command Prompt, all I get are strings of "%SOMEENVIRONMENTVAR%" in my tab title.

# Proposed technical implementation details (optional)
For all "Tab title" strings, just run an expand pass that attempts to substitute any "%..%" sub-strings with any available environment variable.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Windows Terminal settings implementation for the “Tab title” field and tracing how its text is currently applied. Check whether environment-variable expansion is already handled elsewhere, then verify that available variables written as %NAME% resolve in tab titles without changing ordinary text.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.