I've been setting up a dev environment on windows with MSYS, and I have been trying to configure the BASH shell. I've tried to keep the environment I'm creating isolated.
I've made my new "HOME" a subdirectory of the location I've chosen. So my /home/user directory contains things like .bash_profile, .bashrc, etc. However, .bash_history has chosen to stay in what windows would consider my "HOME".
Is there a way to get this to behave and use my specified "HOME"? Here is a snippet of my /etc/profile, which shows my reassignment of "HOME".
Any help would be appreciated. Thanks!
# Set up USER's home directory
#if [ -z "$HOME" ]; then
if [ ! -d "$HOME" ]; then
mkdir -p "$HOME"
cp /etc/inputrc.default "$HOME"/.inputrc
if [ "x$HISTFILE" == "x/.bash_history" ]; then