From 9bbeb185273f4f10b38722730ff41e22ab4f2194 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Fri, 2 Aug 2024 08:27:02 -0400 Subject: [PATCH] fix(wezterm): Use `fish` command from $PATH to work with wezterm-ssh --- home-manager/modules/wezterm.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home-manager/modules/wezterm.nix b/home-manager/modules/wezterm.nix index 1450bc89..24e843f7 100644 --- a/home-manager/modules/wezterm.nix +++ b/home-manager/modules/wezterm.nix @@ -1,6 +1,4 @@ -{ pkgs, inputs, isLinux, ... }: -let fish_path_lua_str = "'${pkgs.fish}/bin/fish'"; -in { +{ pkgs, inputs, isLinux, ... }: { home = { packages = with pkgs; [ maple-mono ]; sessionVariables = { TERM = "wezterm"; }; @@ -193,7 +191,7 @@ in { key = 'n', mods = 'META', action = wezterm.action.SpawnCommandInNewTab({ - args = { ${fish_path_lua_str} }, + args = { "fish" }, cwd = wezterm.home_dir, }), },