✨ feat(man): Configure man
This commit is contained in:
parent
b4869c93c4
commit
1de7e59393
2 changed files with 15 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
./fish
|
./fish
|
||||||
./gh
|
./gh
|
||||||
./hyfetch
|
./hyfetch
|
||||||
|
./man
|
||||||
./syncthing
|
./syncthing
|
||||||
./wget
|
./wget
|
||||||
./xdg
|
./xdg
|
||||||
|
|
14
home/man/default.nix
Normal file
14
home/man/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.man.enable = true;
|
||||||
|
|
||||||
|
programs.fish = lib.mkIf config.programs.fish.enable {
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set -gx MANWIDTH 80
|
||||||
|
set -gx MANPAGER 'nvim +NoNeckPain "+set nowrap" +Man!'
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue