My dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix up Windows again

bitquabit.com a56b3256 9e7275ec

verified
+6 -6
windows/.gitconfig windows/gitconfig
+5 -5
windows/install.ps1
··· 1 1 function LinkDotfile($target, $source) { 2 - New-Item -Path $target -ItemType SymbolicLink -Value "$((Get-Location).path)\$source" -ErrorAction Ignore 2 + New-Item -Force -Path $target -ItemType SymbolicLink -Value "$((Get-Location).path)\$source" 3 3 } 4 4 5 5 function EnsureDirectory($dir) { 6 6 New-Item -Force -ItemType Directory $dir 7 7 } 8 8 9 - LinkDotfile $profile "profile.ps1" 9 + LinkDotfile $profile "windows\profile.ps1" 10 10 11 11 EnsureDirectory ~\AppData\Local\clink 12 12 13 - LinkDotfile ~\.gitconfig ".gitconfig" 14 - LinkDotfile ~\.wslconfig ".wslconfig" 15 - LinkDotfile ~\AppData\Local\clink\oh-my-posh.lua oh-my-posh.lua 13 + LinkDotfile ~\.gitconfig "windows\gitconfig" 14 + LinkDotfile ~\.wslconfig "windows\wsl.conf" 15 + LinkDotfile ~\AppData\Local\clink\oh-my-posh.lua windows\oh-my-posh.lua 16 16 LinkDotfile ~\AppData\Roaming\helix helix 17 17 LinkDotfile ~\AppData\Roaming\jj jj
+1 -1
windows/profile.ps1
··· 10 10 New-Item -ItemType File $name 11 11 } 12 12 13 - oh-my-posh init pwsh --config "$env:USERPROFILE/source/dotfiles/windows/benjamin.omp.json" | Invoke-Expression 13 + oh-my-posh init pwsh --config "$env:USERPROFILE/source/dotfiles/benjamin.omp.json" | Invoke-Expression 14 14 Invoke-Expression (& { (zoxide init powershell | Out-String) }) 15 15 16 16 # jj helper functions