less: set default lessopen preprocessor to null
This commit is contained in:
@@ -92,8 +92,8 @@ in
|
|||||||
|
|
||||||
lessopen = lib.mkOption {
|
lessopen = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
|
default = null;
|
||||||
defaultText = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"'';
|
example = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"'';
|
||||||
description = ''
|
description = ''
|
||||||
Before less opens a file, it first gives your input preprocessor a chance to modify the way the contents of the file are displayed.
|
Before less opens a file, it first gives your input preprocessor a chance to modify the way the contents of the file are displayed.
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user