-
Notifications
You must be signed in to change notification settings - Fork 318
Closed
Labels
Description
From @whatevergeek on August 18, 2016 18:44
Version: powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
Platform: Ubuntu 14.04
Steps to reproduce
- Modify $profile file and add the following function inside
function prompt
{
Write-Host ("This>")
return " "
} - Exit and re-enter powershell
- Check the commandline prompt
Expected behavior
It should only print "This>" once.
Actual behavior
It prints "This>" twice.
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.9
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Copied from original issue: PowerShell/PowerShell#1897
nozzlegear, branneman, btipling, calebboyd, JasonMorgan and 1 more