Might be unrelated background: Before upgrading Mint from 18 to 20.1 this problem not happening.
I have list of aliases in
/home/enter/.bash_aliases. I can use those aliases as a normal user, but I want have it too when I am using root.
Someone tell that
.bash_aliases is being included by default, but the fact it's not when using root (using sudo -su).
By some comment on bashrc sample, I made addition on
if [ -f /home/enter/.bash_aliases ]; then . /home/enter/.bash_aliases fi
Could you help to locate where is the mistake? Those aliases not available when using root. A clear explanation is another niceness :)
~/.bashrc, do you mean your
sudo? If the latter, then the difference in behavior between versions may be the result of changes in sudo's default