-
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
Added initial docs for customizing windows terminal #2374
Conversation
change. If you notice an error in the docs, please raise an issue. Or better yet, please file a PR with an appropriate update! | ||
|
||
## Title of tab | ||
When Windows Terminal launches, the shell has a special variable to determine the window title. This title is used to set the name of the tab inside Windows Terminal. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text is a little misleading and likely not necessary considering the subsequent text & bullets.
2. Set the title within the shell (varies by shell) | ||
|
||
#### 1. Set the title from the settings of Windows Terminal | ||
In the `settings.json` file from Windows Terminal, you can overrule the title of the tab by specifying the property `tabTitle`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/settings.json/profiles.json/g ;)
|
||
#### 1. Set the title from the settings of Windows Terminal | ||
In the `settings.json` file from Windows Terminal, you can overrule the title of the tab by specifying the property `tabTitle`. | ||
The `tabTitle` overrules the title from the individual shell. Please note that the `tabTitle` is static. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does static mean in this context?
###### Documentation: [title - Microsoft Docs][cmdtitle] | ||
|
||
## Customizing the prompt | ||
The prompt is the part of the terminal shown before where your cursor is placed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest something like:
"The prompt is the text that is displayed at the start of each command-line, to the left of the cursor. For example, in Cmd, the default prompt is C:\>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few comments / suggestions.
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
|
||
##### CMD | ||
``` | ||
prompt my new prompt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Summary of the Pull Request
Add some initial docs for customizing the users experience in Windows Terminal.
I've seen you have been flooded with these questions, so I decided to write some docs. I know
bash
is missing, but I've yet to master it. Feel free to come with feedback.References
Depending on the mind of @zadjii-msft in #2373, this might need to be updated very soon.
PR Checklist