Update NewProfile.ps1

Removed redundant display (Core) in the console as it's displayed in the Title
This commit is contained in:
Alex Lopez
2019-09-10 21:35:12 -04:00
parent 44fbae8d08
commit 323b9e88f7

View File

@@ -8,7 +8,6 @@
# Added PowerShell-Core compatibility
#
# 1) PS prompt
# - detect pwsh-core
# - current (local) time
# - execution time of the previous command
# - shortened PWD
@@ -21,10 +20,6 @@
function prompt
{
# Detect PS-Core
If ($PSVersionTable.PSEdition -eq 'Core') {
Write-Host '(Core) ' -NoNewLine
}
# Current time
$date = (Get-Date).ToString('HH:mm:ss')
Write-Host -Object '[' -NoNewLine