Created
May 18, 2020 03:25
-
-
Save joshuawootonn/15ec077b2b5219da32c7cfc9d9449bbb to your computer and use it in GitHub Desktop.
This file contains 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
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Agnoster | |
function prune-them-boys() { | |
git checkout master; git remote update origin --prune; git branch -vv | Select-String -Pattern ": gone]" | % { $_.toString().Trim().Split(" ")[0]} | % {git branch -D $_} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with v3 of oh-my-posh