1
0
Fork 0
This commit is contained in:
Florian RICHER (MrDev023) 2022-04-13 23:51:09 +02:00
parent 2b21c5199d
commit b2b7d78643

View file

@ -27,6 +27,12 @@ if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
$symlink_folder = "$env:APPDATA\$item"
New-Item -Force -Path $symlink_folder -ItemType SymbolicLink -Value $config_folder
}
$localAppDatasToSymlink = 'nvim'
Foreach ($item in $localAppDatasToSymlink) {
$config_folder = "$env:USERPROFILE\.config\$item"
$symlink_folder = "$env:LOCALAPPDATA\$item"
New-Item -Force -Path $symlink_folder -ItemType SymbolicLink -Value $config_folder
}
Exit
} catch {
Start-Sleep -Seconds 10