Last active
March 4, 2024 10:15
-
-
Save MiguelERuiz/359c87cc8573ef7b369fb6041b865e61 to your computer and use it in GitHub Desktop.
Run last command in PowerShell session as `!!` Bash expansion
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
# Resources: | |
# https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-history?view=powershell-7.3 | |
# Reload profile | |
# . profile.ps1 | |
Set-Alias -Name ?? -Value Invoke-History |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment