mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(wezterm): Make wezterm config more robust
This commit is contained in:
parent
9557dcb023
commit
2147f4b960
8 changed files with 300 additions and 126 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue