My dotfiles
at main 20 lines 673 B view raw
1function LinkDotfile($target, $source) { 2 New-Item -Force -Path $target -ItemType SymbolicLink -Value "$((Get-Location).path)\$source" 3} 4 5function EnsureDirectory($dir) { 6 New-Item -Force -ItemType Directory $dir 7} 8 9LinkDotfile $profile "windows\profile.ps1" 10 11EnsureDirectory ~\.config 12EnsureDirectory ~\AppData\Local\clink 13 14LinkDotFile ~\.config\mise mise 15LinkDotFile ~\.default-go-packages default-go-packages 16LinkDotfile ~\.gitconfig windows\gitconfig 17LinkDotfile ~\.wslconfig windows\wsl.conf 18LinkDotfile ~\AppData\Local\clink\oh-my-posh.lua windows\oh-my-posh.lua 19LinkDotfile ~\AppData\Roaming\helix helix 20LinkDotfile ~\AppData\Roaming\jj jj