From 02166ef43889520688453db5482b535002ab29d3 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Oct 2025 22:59:55 +0100 Subject: Move bash and less history files to cache folder --- dot-profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dot-profile') diff --git a/dot-profile b/dot-profile index 877f581..d37b198 100755 --- a/dot-profile +++ b/dot-profile @@ -13,10 +13,13 @@ if command -v vim >/dev/null 2>&1; then export VISUAL=vim fi +# HISTORY +export HISTFILE=~/.cache/bash_history + # LESS export LESS="-R" export LESSCHARSET=utf-8 -export LESSHISTFILE=/dev/null +export LESSHISTFILE=~/.cache/less_history export LESS_TERMCAP_mb=$'\e[01;33m' # begin blinking export LESS_TERMCAP_md=$'\e[01;33m' # begin bold export LESS_TERMCAP_me=$'\e[0m' # end all mode like so, us, mb, md, mr -- cgit