Last active
December 19, 2018 17:06
-
-
Save KNOXDEV/84da0469eea9c9abaa2d60301fde2383 to your computer and use it in GitHub Desktop.
KNOX's favorite custom PowerShell prompt, based on aag (for pshazz by lukesampson)
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
{ | |
"plugins": [ "git", "hg", "ssh", "z", "aliases" ], | |
"prompt": [ | |
[ "", "", "`n\u250C\u2014", "" ], | |
[ "darkgreen", "", " $user@$hostname", "$true" ], | |
[ "darkyellow", "", " $pwd", "" ], | |
[ "", "", " `n\u251C\u2014 git \u2014\u2192", "$is_git" ], | |
[ "", "", " $git_lbracket$git_branch", "" ], | |
[ "red", "", " $git_dirty", "" ], | |
[ "", "", "$git_rbracket", ""], | |
[ "", "", " $hg_lbracket$hg_branch$hg_bookmark", "" ], | |
[ "red", "", "$hg_dirty", "" ], | |
[ "", "", "$hg_rbracket", "" ], | |
[ "", "", "`n\u2514\u2014\u2014\u2014\u2192", "" ] | |
], | |
"git": { | |
"prompt_lbracket": "[", | |
"prompt_rbracket": "]" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment