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
Version: powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
Platform: Ubuntu 14.04
Steps to reproduce
function prompt
{
Write-Host ("This>")
return " "
}
Expected behavior
It should only print "This>" once.
Actual behavior
It prints "This>" twice.
Environment data