I just installed bash 4.4.19 through brew on my mac and configured Terminal.app to use it as the default shell. All of that works.
Now when I type
ln -s $HOME/+TAB it gets autocompleted to
ln -s \$HOME/. The default bash that comes with macOS 10.13 would instead auto-complete that to
ln -s /Users/lars/.
How can I get the old behavior back so that
$HOME auto-completes to my home directory?