✨ feat(man): Define env vars independently of shell
This commit is contained in:
parent
8d1dc2baef
commit
95f1f232be
1 changed files with 4 additions and 10 deletions
|
@ -1,14 +1,8 @@
|
||||||
{
|
{...}: {
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.man.enable = true;
|
programs.man.enable = true;
|
||||||
|
|
||||||
programs.fish = lib.mkIf config.programs.fish.enable {
|
home.sessionVariables = {
|
||||||
interactiveShellInit = ''
|
MANWIDTH = "80";
|
||||||
set -gx MANWIDTH 80
|
MANPAGER = "nvim +NoNeckPain '+set nowrap' +Man!";
|
||||||
set -gx MANPAGER 'nvim +NoNeckPain "+set nowrap" +Man!'
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue