aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-01 17:00:46 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-01 17:01:27 -0600
commit030709afb30b66986f7c6dc500a25b5cdbb15f5e (patch)
tree0b8e102a3db12db6efe5e46079ce75875932a0c2 /sh/.config
parent5f68d97340ce2a9c1c131d3ad80876a886d34211 (diff)
fix(sh): remove LESSOPEN env var
Provided lesspipe is installed, at least on Arch, LESSOPEN is already setup by `/env/profile.d/lesspipe.sh`, which is then sourced by `~/.profile`, which is actually more portable. So no need to set it up unconditionally here.
Diffstat (limited to 'sh/.config')
-rw-r--r--sh/.config/profile.d/20-less.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/sh/.config/profile.d/20-less.sh b/sh/.config/profile.d/20-less.sh
index d18ad26..e192da2 100644
--- a/sh/.config/profile.d/20-less.sh
+++ b/sh/.config/profile.d/20-less.sh
@@ -1,5 +1,4 @@
#!/bin/sh
export LESS="-RF --mouse"
-export LESSOPEN="|lesspipe.sh %s"
export LESSHISTFILE="$XDG_STATE_HOME/lesshst"