From a reddit thread I found this short snippet you can add to your
.bashrc that automatically shows the list of contents of a dir you've
builtin cd "$@" && ls
Though this is great but I would like this to be effective only if the folder I've
cd'd into is a sub-directory of
$HOME. Is there any way to do it?