fix colours in 'less'
This commit is contained in:
parent
3a932e1184
commit
bf6e29669e
1 changed files with 8 additions and 2 deletions
|
@ -1,11 +1,17 @@
|
|||
{
|
||||
{config, ...}: {
|
||||
# enable zsh autocompletion for system packages (systemd, etc)
|
||||
environment.pathsToLink = ["/share/zsh"];
|
||||
|
||||
environment.variables."LESS" = config.programs.less.envVariables.LESS;
|
||||
|
||||
programs = {
|
||||
less = {
|
||||
enable = true;
|
||||
envVariables.LESS = "--mouse";
|
||||
envVariables.LESS = builtins.concatStringsSep " " [
|
||||
"--mouse"
|
||||
"--RAW-CONTROL-CHARS"
|
||||
"--use-color"
|
||||
];
|
||||
};
|
||||
|
||||
zsh = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue