Update
This commit is contained in:
parent
2b21c5199d
commit
b2b7d78643
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue