feat(wezterm): Make wezterm config more robust

This commit is contained in:
js0ny 2025-01-06 12:44:14 +00:00
parent 9557dcb023
commit 2147f4b960
8 changed files with 300 additions and 126 deletions

View file

@ -3,8 +3,9 @@
Set-MpPreference -EnableControlledFolderAccess 1
$protected = (Get-MpPreference).ControlledFolderAccessProtectedFolders
$protected += "$env:USERPROFILE\.ssh"
$protected += "$env:USERPROFILE\.config"
$protected += "$Env:UserProfile\.ssh"
$protected += "$Env:UserProfile\.config"
$protected += "$Env:UserProfile\Vault"
Set-MpPreference -ControlledFolderAccessProtectedFolders $protected
$apps = (Get-MpPreference).ControlledFolderAccessAllowedApplications