Last active
November 14, 2023 09:55
-
-
Save haruki7049/93d7f807c463bd2ef8e1c285c3e202be 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 PSReadline | |
Set-PSReadLineOption -EditMode Emacs -BellStyle None | |
function Prompt { | |
$username = "$($env:USER)" | |
$path = "$($executionContext.SessionState.Path.CurrentLocation)" | |
Write-Host $path -NoNewline -ForeGroundColor blue | |
Write-Host " $(Get-Date -Format "MM/dd/yyyy HH:mm")" -ForeGroundColor yellow | |
Write-Host ">" -NoNewline -ForeGroundColor yellow | |
return " " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment