Skip to content

Instantly share code, notes, and snippets.

@baruchiro
Created February 20, 2021 19:44
Show Gist options
  • Save baruchiro/e204078b67d96c16d8ee9bf523206c31 to your computer and use it in GitHub Desktop.
Save baruchiro/e204078b67d96c16d8ee9bf523206c31 to your computer and use it in GitHub Desktop.
My Powershell Profile
# 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