-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a guide for setting the title in your shell #2304
Comments
Wait hol up, this would work okay with cmd.exe. set PROMPT=$e]0;$p$e\$p$g The |
@zadjii-msft I was using this property in |
I don't know why my brain took so long to pick up on this, but AND if I set it as a permanent environment variable then it will work for new "cmd" and terminal windows. |
Hey this looks like it was added to https://docs.microsoft.com/en-us/windows/terminal/tutorials/tab-title, so I'm closing this issue out. Thanks all! |
This has come up like 15 times in the last 5 days since 0.3 dropped.
It's clear that most users don't know that you can set the title of the console window with your shell. We should create a user doc that shows how to change the title in various shells. I'm thinking we definitely need
powershell
,cmd
andbash
.Ideally, we'll have steps on how to update the title as part of the prompt for each of these shells too. Obviously this wouldn't work great for cmd.exe, since cmd doesn't re-evaluate the PROMPT each time. However, bash already updates the title as part of the prompt, and I know that's possible with powershell too.
Can users just google this themselves? Yes, but this seems like something that users don't even know is a scenario that's possible, so they wouldn't think to look for it.
The text was updated successfully, but these errors were encountered: