Created
February 20, 2021 19:44
-
-
Save baruchiro/e204078b67d96c16d8ee9bf523206c31 to your computer and use it in GitHub Desktop.
My Powershell Profile
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
# Gist: https://gist.github.com/baruchiro/e204078b67d96c16d8ee9bf523206c31 | |
Set-PoshPrompt -Theme ~/.mytheme.omp.json | |
# git push master && git switch dev -> g p sm | |
function ParseAliases { | |
foreach ($command in $args) { | |
Write-Host "> git $command" -ForegroundColor Green | |
Invoke-Expression -Command "git $command" | |
} | |
} | |
Set-Alias -Name g -Value ParseAliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment