Created
July 18, 2025 12:02
-
-
Save stopthatastronaut/44468ebebbfb88ed815d8c4a7a0a1558 to your computer and use it in GitHub Desktop.
Set-WindowTitle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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