mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
less: set default lessopen preprocessor to null
This commit is contained in:
parent
8d7a6772b4
commit
54bb89c66f
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ in
|
|||
|
||||
lessopen = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
default = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
|
||||
defaultText = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"'';
|
||||
default = null;
|
||||
example = lib.literalExpression ''"|''${pkgs.lesspipe}/bin/lesspipe.sh %s"'';
|
||||
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.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue