dotfiles/terminal/.config/bash/env.d/bash-history-xdg.sh

7 lines
177 B
Bash
Raw Normal View History

#!/usr/bin/env bash
export HISTFILE="${XDG_STATE_HOME}/bash/history"
# bashrc, bash_profile, bash_logout currently unsupported
# see https://savannah.gnu.org/support/?108134