summaryrefslogtreecommitdiffstats
path: root/powershell/Microsoft.PowerShell_profile.ps1
blob: 866ed4cc9b2352a97b71a36f9476141a26ae929f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Access this file using $PROFILE
#
# Home directory:
# cmd.exe: %USERPROFILE%
# Powershell: $ENV:USERPROFILE
#
# To break long commands in Powershell use a trailing backtick (`)

# Custom colored prompt
# Ref.: https://stackoverflow.com/questions/6297072
function prompt
{
    Write-Host "PS $(get-location)`n>" -nonewline -foregroundcolor DarkCyan
    return ' '
}