about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/lf/default.nix25
1 files changed, 13 insertions, 12 deletions
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