Last active
August 11, 2022 15:19
-
-
Save crstnmac/6922fdb76b11405e18ee83d989f64878 to your computer and use it in GitHub Desktop.
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 posh-git | |
Import-Module PSReadLine | |
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/cris.omp.json" | Invoke-Expression | |
# This will enable the prediction source for IntelliSense | |
Set-PSReadLineOption -PredictionSource 'History' | |
# (Optional) Change the darker grey to a lighter grey to account for dark backgrounds | |
Set-PSReadLineOption -Colors @{ InlinePrediction = '#9CA3AF' } | |
# 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
Updated config