summaryrefslogtreecommitdiff
path: root/.config/login.d
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:39:40 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:41:28 -0500
commit162e6fb23f50c7f60bfa0e0ad6d334dcc0777fcb (patch)
treeba50f70ee76e123f90a74ca65a3383df2aefea88 /.config/login.d
parent3f8f1c6c2026d6fb4a6d9280d982730afb8e762c (diff)
set LESSHISTFILE
Diffstat (limited to '.config/login.d')
-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%/*}"