PowerShell/Scripts/my-profile.ps1
2021-03-15 16:21:59 +01:00

20 lines
535 B
PowerShell
Executable File

# my-profile.ps1 - Your Personal PowerShell Profile
# -------------------------------------------------
#
# NOTE: simply comment/uncomment/adapt the following lines:
# function prompt {$null}
# resulting prompt is: PS>
# function prompt { "$ " }
# resultinng prompt is: $
function prompt {
$host.ui.RawUI.WindowTitle = "$(whoami)@$(hostname)"
write-host -foregroundColor blue -noNewLine "$(Get-Location)"
return "> "
}
# resulting prompt is: C:\>
set-alias -name lsf -value get-childitem # lsf means list directory formatted