diff options
| author | Blake Romero <blake@blkrom.com> | 2025-10-01 22:59:55 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-10-01 22:59:55 +0100 |
| commit | 02166ef43889520688453db5482b535002ab29d3 (patch) | |
| tree | 5f7c93b84f7ad1869f7b28283ffd0e4aeae58f61 | |
| parent | cd789c6dc050beaafdb3fcbdc32f46afcbdf511d (diff) | |
Move bash and less history files to cache folder
| -rwxr-xr-x | dot-profile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
