Files
.dotfiles/PowerShell/Microsoft.PowerShell_profile.ps1
Cody Gibbs e7235f0dab I am batman
2026-05-29 13:53:56 -04:00

15 lines
536 B
PowerShell
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Minimal profile: UTF8 + Oh My Posh (if installed) + Fastfetch with explicit config path
try {
[Console]::InputEncoding = [System.Text.Encoding]::UTF8
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.UTF8Encoding]::new($false)
chcp 65001 > $null
} catch {}
Clear-Host
# Force Fastfetch to use YOUR config every time (bypass path confusion)
if (Get-Command fastfetch -ErrorAction SilentlyContinue) {
fastfetch -c "C:/Users/%USERPROFILE%/.config/fastfetch/config.jsonc"
}