Skip to content

Instantly share code, notes, and snippets.

@willsantos
Last active July 25, 2023 16:21
Show Gist options
  • Select an option

  • Save willsantos/02ede99559cd2a9d1a34a8cd89534676 to your computer and use it in GitHub Desktop.

Select an option

Save willsantos/02ede99559cd2a9d1a34a8cd89534676 to your computer and use it in GitHub Desktop.
My PowerShell config
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
@willsantos
Copy link
Author

Atualizado para a nova versão do git-posh instalado via winget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment