Skip to content

Commit

Permalink
Add environment variables for less configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Jun 28, 2023
1 parent 19eb257 commit 40ff2be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ with lib;

sessionVariables = {
"EDITOR" = "hx";
"LESS" = "-R";
"LESSCHARSET" = "utf-8";

# Don't clear the screen when leaving man.
"MANPAGER" = "less -X";
Expand Down

0 comments on commit 40ff2be

Please sign in to comment.