Added fixomp function inside the profile
This commit is contained in:
1 parent
d2e5684da1
commit
4eafdee297
1 file changed
+9
@@ -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"
|
||||
oh-my-posh init pwsh | Invoke-Expression
|
||||
Reference in new issue
Block a user