summaryrefslogtreecommitdiff
path: root/home/ebisu/core/system/variables/less.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-30 22:35:19 -0700
committerFuwn <[email protected]>2024-10-30 22:35:19 -0700
commit20a85bacc2f8c22c1c0f338c5a8872d29b432935 (patch)
treee9a6b87b8be628f163b040d035410cc5cdeb23c0 /home/ebisu/core/system/variables/less.nix
parentcore: move variables to core from kansai (diff)
downloadnixos-config-20a85bacc2f8c22c1c0f338c5a8872d29b432935.tar.xz
nixos-config-20a85bacc2f8c22c1c0f338c5a8872d29b432935.zip
core: move variables to modules
Diffstat (limited to 'home/ebisu/core/system/variables/less.nix')
-rw-r--r--home/ebisu/core/system/variables/less.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/home/ebisu/core/system/variables/less.nix b/home/ebisu/core/system/variables/less.nix
new file mode 100644
index 0000000..2ff31f0
--- /dev/null
+++ b/home/ebisu/core/system/variables/less.nix
@@ -0,0 +1,13 @@
+{
+ home.sessionVariables = {
+ LESS = "R";
+ LESS_TERMCAP_mb = "$(printf '%b' '')";
+ LESS_TERMCAP_md = "$(printf '%b' '')";
+ LESS_TERMCAP_me = "$(printf '%b' '')";
+ LESS_TERMCAP_so = "$(printf '%b' '')";
+ LESS_TERMCAP_se = "$(printf '%b' '')";
+ LESS_TERMCAP_us = "$(printf '%b' '')";
+ LESS_TERMCAP_ue = "$(printf '%b' '')";
+ LESSOPEN = "| highlight -O ansi %s 2>/dev/null";
+ };
+}