I am batman
This commit is contained in:
14
PowerShell/Microsoft.PowerShell_profile.ps1
Normal file
14
PowerShell/Microsoft.PowerShell_profile.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
# Minimal profile: UTF‑8 + 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"
|
||||
}
|
||||
Reference in New Issue
Block a user