summaryrefslogtreecommitdiff
path: root/.config/login.d/10_less.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/login.d/10_less.sh')
-rw-r--r--.config/login.d/10_less.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/login.d/10_less.sh b/.config/login.d/10_less.sh
new file mode 100644
index 0000000..c5934d6
--- /dev/null
+++ b/.config/login.d/10_less.sh
@@ -0,0 +1,2 @@
+export LESSHISTFILE="$XDG_CACHE_HOME/less/histfile"
+mkdir -p -- "${LESSHISTFILE%/*}"