Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stopthatastronaut/44468ebebbfb88ed815d8c4a7a0a1558 to your computer and use it in GitHub Desktop.
Save stopthatastronaut/44468ebebbfb88ed815d8c4a7a0a1558 to your computer and use it in GitHub Desktop.
Set-WindowTitle
# Sets the title of a window when running in mac terminal
Function Set-WindowTitle {
param($in)
write-host "`e]1;$in`a"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment