bash: Add simple bashrc that setups history
This commit is contained in:
6
.config/bash/bashrc
Normal file
6
.config/bash/bashrc
Normal 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
|
||||||
Reference in New Issue
Block a user