Skip to content

Commit

Permalink
fix(wezterm): Use fish command from $PATH to work with wezterm-ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 2, 2024
1 parent d9cd089 commit 9bbeb18
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions home-manager/modules/wezterm.nix
Original file line number Diff line number Diff line change
@@ -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"; };
Expand Down Expand Up @@ -193,7 +191,7 @@ in {
key = 'n',
mods = 'META',
action = wezterm.action.SpawnCommandInNewTab({
args = { ${fish_path_lua_str} },
args = { "fish" },
cwd = wezterm.home_dir,
}),
},
Expand Down

0 comments on commit 9bbeb18

Please sign in to comment.