-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Update hyperlink for DefaultPromptFunctionText #13176
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
Changes from all commits
4f0ec37
919c337
94fd279
05a4cf7
55873fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4765,8 +4765,22 @@ internal static SessionStateAliasEntry[] BuiltInAliases | |
|
|
||
| internal const string DefaultPromptFunctionText = @" | ||
| ""PS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) ""; | ||
| # .ForwardHelpTargetName about_Prompts | ||
| # .SYNOPSIS | ||
| # The PowerShell command prompt indicates | ||
| # that PowerShell is ready to run a command. | ||
| # .DESCRIPTION | ||
| # To customize the prompt, write a new Prompt function. | ||
| # The function is not protected, so you can overwrite it. | ||
| # .OUTPUTS | ||
| # The Prompt function must return an object. | ||
| # As a best practice, return a string | ||
| # or an object that is formatted as a string. | ||
| # The maximum recommended length is 80 characters. | ||
| # .Link | ||
| # https://go.microsoft.com/fwlink/?LinkID=225750 | ||
| # https://go.microsoft.com/fwlink/?LinkId=2136843 | ||
| # .Link | ||
| # about_Prompts | ||
|
Comment on lines
4780
to
+4783
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't these help nodes require it to be all uppercase? Or am I misremembering. All the help docs I can recall show them only with uppercase names (i.e.,
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the current declaration and it works. |
||
| # .ExternalHelp System.Management.Automation.dll-help.xml | ||
| "; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.