Skip to content

Instantly share code, notes, and snippets.

@bmorrisondev
Created March 26, 2020 14:15
Show Gist options
  • Select an option

  • Save bmorrisondev/e2accbf5a3ca00a7c4191fa60b391840 to your computer and use it in GitHub Desktop.

Select an option

Save bmorrisondev/e2accbf5a3ca00a7c4191fa60b391840 to your computer and use it in GitHub Desktop.
My profile.ps1 - I use this to customize my #PowerShell session
# Stored in "~/Documents/Windows PowerShell". Any commands in this file will be executed when a session is launched.
function prompt {
"PS ($(Split-Path -leaf -path (Get-Location)))> "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment