Last active
March 4, 2022 18:17
-
-
Save reinaldocoelho/273f3d1e559b512188b0025bac7bfb53 to your computer and use it in GitHub Desktop.
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
# Outros modulos PS instalados | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Paradox | |
# Salve este arquivo em: $profile (C:\Users\reinaldo\Documents\PowerShell\Microsoft.PowerShell_profile.ps1) | |
# Pode-se abrir direto para edição com: vim $profile | |
# Mais detalhes em: https://stackoverflow.com/questions/24914589/how-to-create-permanent-powershell-aliases | |
# Cria uma funcao para processar os comandos | |
function yarn-start { yarn && yarn start } | |
# Cria o Alias | |
Set-Alias -Name ys -Value yarn-start | |
# Cria uma funcao para processar os comandos | |
function git-fetch-pull { git fetch --progress --all --prune && git pull } | |
# Cria o Alias | |
Set-Alias -Name gfp -Value git-fetch-pull |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment