Skip to content

Instantly share code, notes, and snippets.

@MiguelERuiz
Last active March 4, 2024 10:15
Show Gist options
  • Save MiguelERuiz/359c87cc8573ef7b369fb6041b865e61 to your computer and use it in GitHub Desktop.
Save MiguelERuiz/359c87cc8573ef7b369fb6041b865e61 to your computer and use it in GitHub Desktop.
Run last command in PowerShell session as `!!` Bash expansion
# 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