Fix env-paths and add XDG_STATE_HOME

This commit is contained in:
Tobias Reisinger 2024-08-10 16:04:30 +02:00
parent 88767dd191
commit b75e692b60
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 14 additions and 3 deletions

View file

@ -88,7 +88,7 @@ source "$OSH/oh-my-bash.sh"
HISTCONTROL=ignoreboth
export SAVEHIST=1000000
export HISTSIZE=1000000
export HISTFILE="$HOME/.cache/bash_history"
export HISTFILE="$XDG_STATE_HOME/bash_history"
shopt -s histappend
shopt -s checkwinsize