Skip to content

Instantly share code, notes, and snippets.

@OsirisTerje
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OsirisTerje/ed23ec78720c7517ec5e to your computer and use it in GitHub Desktop.
Save OsirisTerje/ed23ec78720c7517ec5e to your computer and use it in GitHub Desktop.
if (sln_open) {
sln_filename + (exec git_branch 5 "git rev-parse --abbrev-ref HEAD" sln_dir ? " git["+git_branch+"]") + " "+sln_dir + (exec git_rem 5 "git remote " sln_dir ? " Rems:["+git_rem+"]")
+" "+(exec git_stat 5 "git status -s" sln_dir ? "Status:["+git_stat+"]")
} else {
"VS" + vs_version
}
@OsirisTerje
Copy link
Author

Installing

Install from http://visualstudiogallery.msdn.microsoft.com/2e8ebfe4-023f-4c4d-9b7a-d05bbc5cb239

Setup

Go to Tools/Options, locate the VS Window Title Changer/Settings
Select TitleSetup, press the (...) button
Add the gist above to the Edit window and press Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment