diff --git a/sys/profiles/programs/zsh.nix b/sys/profiles/programs/zsh.nix index 0ca9f51..7dc69b5 100644 --- a/sys/profiles/programs/zsh.nix +++ b/sys/profiles/programs/zsh.nix @@ -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 = {