inputrc + smart bash history + autocd