Wezterm起動時にwslを自動的に起動させる

.config のシンボリックリンクをホームディレクトリに貼る

管理権限でpowershellを開き、

bash
New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.config" -Target (Get-Location).Path + "\.config"

wezterm.lua を編集する

lua
return {
  default_prog = { "wsl.exe", "--cd", "~" },
}