Revert "Update NewProfile.ps1"

This reverts commit 323b9e88f7.
This commit is contained in:
Alex Lopez
2019-09-10 21:42:15 -04:00
parent 323b9e88f7
commit 46db5d0f50

View File

@@ -8,6 +8,7 @@
# Added PowerShell-Core compatibility
#
# 1) PS prompt
# - detect pwsh-core
# - current (local) time
# - execution time of the previous command
# - shortened PWD
@@ -20,6 +21,10 @@
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