wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

WezTerm doesn't do a good job of automatically modifying the wsl2 directory when launching a new tab.

Open Byxs20 opened this issue 1 year ago • 0 comments

My directory in nushell is ... \Desktop\temp, I start the new Tab with a hotkey, and the shell is wsl2, which doesn't help me to find the corresponding directory, and I need to cd to the previous directory, which is a bit of a pain.

image

This is my configuration:

  {
    key = '!',
    mods = 'CTRL|SHIFT',
    action = act.SpawnCommandInNewTab {
      domain = { DomainName = 'WSL:Ubuntu-20.04' },
    }
  },

Is there a good solution for this? I can't find it in issues.

Byxs20 avatar Aug 22 '24 06:08 Byxs20