Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions src/System.Management.Automation/engine/InitialSessionState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4762,22 +4762,8 @@ 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=2136843
# .Link
# about_Prompts
# https://go.microsoft.com/fwlink/?LinkID=225750
# .ExternalHelp System.Management.Automation.dll-help.xml
";

Expand Down
2 changes: 1 addition & 1 deletion test/powershell/engine/Help/assets/HelpURI/V2Cmdlets.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down