in reply to Johann

You're welcome. Scripting in Fish is a joy, they really try to make it as convenient as possible. You can get away with only knowing about variables, if statements and functions and learn the rest when you need to, including all the built-in functions. Here's some documentation to peruse: fishshell.com/docs/current/lan…
in reply to Johann

You can also use the -c switch when you define the default shell in .wezterm.lua so it'll start tdsr automatically. Example config (change your_user_name to your user name):

local wezterm = require 'wezterm'
local config = wezterm.config_builder()

-- Set left Option key to send Esc+ (Meta)
config.send_composed_key_when_left_alt_is_pressed = false
config.send_composed_key_when_right_alt_is_pressed = true

-- Set default shell
config.default_prog = { '/opt/homebrew/bin/fish','-c','/Users/your_user_name/tdsr/tdsr' }

-- Disable quit confirmation
config.window_close_confirmation = 'NeverPrompt'

config.prefer_to_spawn_tabs=true

return config