From 6fa527d646b7b68e2798cf21fdcb4f6b0a7b0846 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 3 Aug 2024 10:46:15 +0200 Subject: fix(modules/home/less/lesskey): Fix less not using values from lesskey file less ignores the lesskey file if it contains the `#stop` directive. This is extremely weird, but one valid fix is just removing the `#stop` directive. --- modules/home/conf/less/command.less | 3 ++- modules/home/conf/less/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/home/conf') diff --git a/modules/home/conf/less/command.less b/modules/home/conf/less/command.less index 5365686b..95b79b02 100644 --- a/modules/home/conf/less/command.less +++ b/modules/home/conf/less/command.less @@ -123,4 +123,5 @@ Q quit ZZ quit # Stop processing (and ignore less' default values) -#stop +# (// FIXME: This stopped working and thus we just comment it out <2024-08-03> ) +# stop diff --git a/modules/home/conf/less/default.nix b/modules/home/conf/less/default.nix index f4103080..9991ebef 100644 --- a/modules/home/conf/less/default.nix +++ b/modules/home/conf/less/default.nix @@ -7,6 +7,7 @@ LESSHISTSIZE = 10000; LESSHISTFILE = "${config.xdg.dataHome}/less/history"; }; + programs.less = { enable = true; keys = -- cgit 1.4.1