Created
May 4, 2023 15:21
-
-
Save Systemad/0fc000f47ace9cd4f922abcf77685f21 to your computer and use it in GitHub Desktop.
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
#Invoke-Expression (&starship init powershell) | |
Import-Module oh-my-posh | |
Import-Module PSReadLine | |
Import-Module -Name Terminal-Icons | |
#oh-my-posh init pwsh | Invoke-Expression | |
oh-my-posh init pwsh --config C:\Users\yeahg\AppData\Local\oh-my-posh\themes/catppuccin_macchiato.omp.json | Invoke-Expression | |
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Set-PSReadLineOption -PredictionSource History | |
Set-PSReadLineOption -PredictionViewStyle ListView | |
Set-PSReadLineOption -EditMode Windows | |
Set-PSReadLineOption -Colors @{emphasis = '#ffd1d1'; inlinePrediction = '#808080'} | |
Set-PSReadLineOption -HistoryNoDuplicates | |
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete | |
# Import the Chocolatey Profile that contains the necessary code to enable | |
# tab-completions to function for `choco`. | |
# Be aware that if you are missing these lines from your profile, tab completion | |
# for `choco` will not function. | |
# See https://ch0.co/tab-completion for details. | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment