From 89b20a2a2c91a0af25b879beb358ee0e442a4f60 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 24 Feb 2023 17:31:11 +0100 Subject: Fix(lf): Fix the config file --- home-manager/config/lf/default.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'home-manager/config/lf/default.nix') diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index 6cadf504..54eee2c9 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -165,7 +165,7 @@ in { gnutar unzip # TODO this is unfree! unrar - + p7zip ; }; @@ -351,24 +351,25 @@ in { dircounts = true; # count things in directories TODO this has performance impact drawbox = true; - errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m"; + # errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m"; + errorfmt = "ERROR: "; hidden = true; # show hidden files icons = true; - ifs = "\n"; # internal field separator for shell commands + ifs = "\\n"; # internal field separator for shell commands info = "size"; # show the size of a directory shell = "sh"; - shellopts = "-e -u"; # e: exit on error; u: error for unset variables + shellopts = "eu"; # e: exit on error; u: error for unset variables }; # TODO remove auto quit, if it has been added # TODO add ctpv, if it gets merged - extraConfig = '' - &ctpv -s $id - &ctpvquit $id - set cleaner = {pkgs.ctpv} - - set autoquit = true - set dirpreviews = true - ''; + extraConfig = + # &ctpv -s $id + # &ctpvquit $id + # set cleaner = {pkgs.ctpv} + '' + set autoquit = true + set dirpreviews = true + ''; }; } # vim: ts=2 -- cgit 1.4.1