Added fixomp function inside the profile

This commit is contained in:
habiwan committed 2026-03-29 12:26:01 +01:00
1 parent d2e5684da1
commit 4eafdee297
1 file changed
+9
+9
View File
@@ -1,2 +1,11 @@
function fixomp {
$profileContent = @(
'fastfetch --logo "$HOME\hwk.txt"',
'oh-my-posh init pwsh | Invoke-Expression',
'# To repair this file again, type: fixomp'
)
$profileContent | Out-File -FilePath $PROFILE -Encoding utf8
Write-Host "Profile repaired! Restart your terminal to see changes." -ForegroundColor Green
}
fastfetch --logo "$HOME\hwk.txt" fastfetch --logo "$HOME\hwk.txt"
oh-my-posh init pwsh | Invoke-Expression oh-my-posh init pwsh | Invoke-Expression