✨ feat(less): Configure less
This commit is contained in:
parent
1de7e59393
commit
ea74168b7e
2 changed files with 16 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
./fish
|
||||
./gh
|
||||
./hyfetch
|
||||
./less
|
||||
./man
|
||||
./syncthing
|
||||
./wget
|
||||
|
|
15
home/less/default.nix
Normal file
15
home/less/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.less.enable = true;
|
||||
|
||||
programs.fish = lib.mkIf config.programs.fish.enable {
|
||||
interactiveShellInit = ''
|
||||
set -gx LESS -R
|
||||
'';
|
||||
};
|
||||
|
||||
programs.lesspipe.enable = true;
|
||||
}
|
Loading…
Reference in a new issue