Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

wezterm/bugabinga/wsl.lua

Raw
local wez = require 'wezterm'

return function ( cfg )
  ---@cast cfg Config
  if not wez.target_triple:find 'windows' then return end

  cfg.wsl_domains = {
    {
      name = 'WSL:ArchLinux-dev',
      distribution = 'ArchLinux-dev',
      default_cwd = '~',
      default_prog = { 'nu', '--login', },
    },
  }
end