diff options
| author | Fuwn <[email protected]> | 2024-10-30 22:35:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-30 22:35:19 -0700 |
| commit | 20a85bacc2f8c22c1c0f338c5a8872d29b432935 (patch) | |
| tree | e9a6b87b8be628f163b040d035410cc5cdeb23c0 /home/ebisu/core/system/variables/less.nix | |
| parent | core: move variables to core from kansai (diff) | |
| download | nixos-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.nix | 13 |
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' '[1;31m')"; + LESS_TERMCAP_md = "$(printf '%b' '[1;36m')"; + LESS_TERMCAP_me = "$(printf '%b' '[0m')"; + LESS_TERMCAP_so = "$(printf '%b' '[01;44;33m')"; + LESS_TERMCAP_se = "$(printf '%b' '[0m')"; + LESS_TERMCAP_us = "$(printf '%b' '[1;32m')"; + LESS_TERMCAP_ue = "$(printf '%b' '[0m')"; + LESSOPEN = "| highlight -O ansi %s 2>/dev/null"; + }; +} |