diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-02-10 16:53:03 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-02-10 19:52:19 -0600 |
commit | e712243be494a4158901014faad7ec67ceb809e5 (patch) | |
tree | 6d44ad0eff41f06e96609fd0d2c874fdda6c8b44 /sh/.config/profile.d/20-less.sh | |
parent | 8cf873086c3a49fdc0f4aff5b5042c40f32b8537 (diff) |
feat: split `.profile` to individual files
split `$XDG_CONFIG_HOME/.profile` up into `$XDG_CONFIG_HOME/profile.d`
directory. This allows for better management and prioritization between
different tool's env.
Diffstat (limited to 'sh/.config/profile.d/20-less.sh')
-rw-r--r-- | sh/.config/profile.d/20-less.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/.config/profile.d/20-less.sh b/sh/.config/profile.d/20-less.sh new file mode 100644 index 0000000..50fe31d --- /dev/null +++ b/sh/.config/profile.d/20-less.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +export LESS="--RAW-CONTROL-CHARS --quit-if-one-screen --mouse" +export LESSOPEN="|lesspipe.sh %s" +export LESSHISTFILE="$XDG_STATE_HOME/lesshst" |