home/terminal: add bat as man pager
This commit is contained in:
parent
ac9332b512
commit
ea376f54e1
3 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
_: {
|
||||
imports = [
|
||||
./programs
|
||||
./shell
|
||||
|
|
9
home/terminal/programs/bat.nix
Normal file
9
home/terminal/programs/bat.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config.theme = "ansi";
|
||||
};
|
||||
home.sessionVariables = {
|
||||
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./bat.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
./tmux.nix
|
||||
|
|
Loading…
Reference in a new issue