Created
August 2, 2019 14:38
-
-
Save Halkcyon/46b44a18f8c29a99f2d08843958361e4 to your computer and use it in GitHub Desktop.
Revisions
-
Halkcyon created this gist
Aug 2, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ function prompt { @" `e[38;2;148;152;0m`n{0} `e[m/{1}/ `e[38;5;21mPS `e[m`e[1m`e[4m {2} `e[m `e[38;5;208m{3}`e[38;5;92m{4} `e[m "@ -f @((Get-Date -UFormat '%Y-%m-%d %H:%M:%S') $PWD.Drive.Name.ToUpper() ((Get-History).Count + 1).ToString('000') ($PWD.ProviderPath.ToLower().Replace($HOME, '~').Replace('\', '/') -replace '\w:' -replace '/$') + '/' '>' * ($NestedPromptLevel + 1)) }