Revert "Update hyperlink for DefaultPromptFunctionText (#13176)" (#14107)

This commit is contained in:
James Truher [MSFT] 2020-11-17 09:50:59 -08:00 committed by GitHub
parent a0e9d7b040
commit 9ca6be1d63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 16 deletions

View file

@ -4762,22 +4762,8 @@ end {
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=2136843
# .Link
# about_Prompts
# https://go.microsoft.com/fwlink/?LinkID=225750
# .ExternalHelp System.Management.Automation.dll-help.xml
";

View file

@ -151,7 +151,7 @@ Out-Null,https://go.microsoft.com/fwlink/?linkid=2096792
Out-Printer,https://go.microsoft.com/fwlink/?LinkID=2109553
Out-String,https://go.microsoft.com/fwlink/?linkid=2097024
Pop-Location,https://go.microsoft.com/fwlink/?linkid=2096907
Prompt,https://go.microsoft.com/fwlink/?LinkId=2136843
Prompt,https://go.microsoft.com/fwlink/?LinkID=225750
Push-Location,https://go.microsoft.com/fwlink/?linkid=2097105
Read-Host,https://go.microsoft.com/fwlink/?linkid=2096610
Receive-Job,https://go.microsoft.com/fwlink/?linkid=2096965

1 TopicTitle HelpURI
151 Out-Printer https://go.microsoft.com/fwlink/?LinkID=2109553
152 Out-String https://go.microsoft.com/fwlink/?linkid=2097024
153 Pop-Location https://go.microsoft.com/fwlink/?linkid=2096907
154 Prompt https://go.microsoft.com/fwlink/?LinkId=2136843 https://go.microsoft.com/fwlink/?LinkID=225750
155 Push-Location https://go.microsoft.com/fwlink/?linkid=2097105
156 Read-Host https://go.microsoft.com/fwlink/?linkid=2096610
157 Receive-Job https://go.microsoft.com/fwlink/?linkid=2096965