bash: Add simple bashrc that setups history

This commit is contained in:
2021-01-07 09:58:36 +01:00
parent 555e983d1f
commit 9b45c232aa

6
.config/bash/bashrc Normal file
View File

@@ -0,0 +1,6 @@
HISTFILESIZE=100000
if [[ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}"/bash ]]; then
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}"/bash
fi
HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}"/bash/bash_history