mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Minor fix
This commit is contained in:
parent
5af44bfa90
commit
988b110183
2 changed files with 14 additions and 3 deletions
|
|
@ -17,6 +17,17 @@ if ((Get-Command bat).Source -ccontains "scoop") {
|
|||
$BAT_CONF = Join-Path (scoop prefix bat) "config"
|
||||
}
|
||||
|
||||
|
||||
$SIOYEKDIR = scoop prefix sioyek
|
||||
|
||||
$SIOYEKCFG = Get-ChildItem "$BASE_TOOLS\sioyek" -Filter "*.config"
|
||||
|
||||
foreach ($cfg in $SIOYEKCFG) {
|
||||
$cfgName = $cfg.Name
|
||||
$cfgPath = Join-Path $SIOYEKDIR $cfgName
|
||||
New-Item -ItemType SymbolicLink -Target $cfg -Path $cfgPath -Force
|
||||
}
|
||||
|
||||
$linkDots = @{
|
||||
"$BASE_WIN\wslconfig" = "$Env:UserProfile\.wslconfig"
|
||||
"$BASE_WIN\glzr" = "$Env:UserProfile\.glzr"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue