From 69d897e7c309f11c0f07f7b5a686846b4c042214 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 20 Jun 2024 12:31:26 +0200 Subject: [PATCH] wezterm: add nemo exec domain --- .config/wezterm/wezterm.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 582baf4..5ccaa47 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -19,6 +19,14 @@ config.exec_domains = { cmd.args = wrapped return cmd end), + wezterm.exec_domain("nemo", function(cmd) + local wrapped = { "/usr/bin/ssh", "-t", "nemo" } + for _, arg in ipairs(cmd.args or { os.getenv("SHELL") }) do + table.insert(wrapped, arg) + end + cmd.args = wrapped + return cmd + end), } local function activate_nvim(window, pane) @@ -177,7 +185,6 @@ config.allow_square_glyphs_to_overflow_width = "Always" -- Config config.enable_wayland = true -config.term = "wezterm" config.check_for_updates = false -- UI