From 67d69df373aa23d10c0b8aef890227a691e1dad7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 11 Apr 2025 08:56:08 +0200 Subject: modules/lf: Always ensure that the `shell` is present Otherwise, in path reduced circumstances, `sh` might not be in PATH. --- modules/by-name/lf/lf/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/by-name/lf/lf/module.nix b/modules/by-name/lf/lf/module.nix index 6dc8e919..ae1534d0 100644 --- a/modules/by-name/lf/lf/module.nix +++ b/modules/by-name/lf/lf/module.nix @@ -75,7 +75,7 @@ in { icons = true; ifs = "\\n"; # internal field separator for shell commands #info = "size"; # show the size of a directory - shell = "sh"; + shell = "${lib.getExe pkgs.dash}"; shellopts = "-eu"; # e: exit on error; u: error for unset variables }; extraConfig = '' -- cgit 1.4.1