Last active
October 13, 2022 12:37
-
-
Save rodgeraraujo/b53aeff855e11a272d516c1a55265ce8 to your computer and use it in GitHub Desktop.
My Windows Terminal Config 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
# https://ohmyposh.dev/docs/installation/windows | |
# https://ohmyposh.dev/docs/themes | |
& ([ScriptBlock]::Create((oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\catppuccin_macchiato.omp.json" --print) -join "`n")) | |
# Shows navigable menu of all options when hitting Tab | |
#https://techcommunity.microsoft.com/t5/itops-talk-blog/autocomplete-in-powershell/ba-p/2604524 | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
# https://dev.to/animo/fish-like-autosuggestion-in-powershell-21ec | |
# 1-> Install-Module PSReadLine -RequiredVersion 2.1.0 -Scope CurrentUser | |
# 2-> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
Import-Module PSReadLine | |
Set-PSReadLineOption -PredictionSource History |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scoop sh
:neofetch
:terminal
:Installing profile
check if you have profile:
Test-path $profile
if
false
, create one with:New-item –type file –force $profile
and if
true
, edit it with:notepad $profile
paste this config file
.ps1
and save, after restart your terminal.