Last active
June 10, 2017 04:20
-
-
Save SibTiger/61bce8624de921faac929d39f65f85c6 to your computer and use it in GitHub Desktop.
Emulates the Bash prompt used on a particular VPN server, using PowerShell.
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
# Change our prompt to match with our favorite formatting | |
function prompt | |
{ | |
Write-Host ("[" + $(Get-Date -Format ddd.dd.MMM.yyyy) + " " + $(Get-Date -Format T) + "]" + " " + "[" + $(Get-Item -Path '.\' -Verbose).FullName +"]"); | |
"$ "; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment