Last active
July 25, 2023 16:21
-
-
Save willsantos/02ede99559cd2a9d1a34a8cd89534676 to your computer and use it in GitHub Desktop.
My PowerShell config
This file contains hidden or 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
| Import-Module -Name Terminal-Icons | |
| #Import-Module -Name Terminal-Icons | |
| #Functions | |
| #function projetos { set-location "D:\OneDrive\Projetos" } | |
| #Alias | |
| new-alias rename rename-item | |
| new-alias lsa get-childitem | |
| #new-alias proj projetos | |
| #Set-PoshPrompt Paradox | |
| #Set-PoshPrompt -Theme ~/pwsh10k.omp.json | |
| #Set-PoshPrompt | |
| oh-my-posh init pwsh --config 'https://gist.githubusercontent.com/willsantos/74c333134cf87476f3818d52688acd57/raw/dee247ee00d5a542c59fd8dafffea2ff56c05378/ohmyposh.json' | Invoke-Expression | |
| #$DefaultUser = 'wilson' | |
| # Shows navigable menu of all options when hitting Tab | |
| Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
| # Autocompletion for arrow keys | |
| Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
| Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
| Clear-Host |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Atualizado para a nova versão do git-posh instalado via winget