Do not overwrite HISTFILE #64
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
I am using a custom HISTFILE name. And to keep it that way, I also make this variable readonly.
As mcfly does
export HISTFILE="${HISTFILE:-$HOME/.bash_history}"
this leads to an annoying warning:
bash: HISTFILE: readonly variable
A check like
would prevent this warning for me.
The text was updated successfully, but these errors were encountered: