How do I enable bash completion?

Using bash completion really helps using the jx command line letting you TAB -complete commands and command line arguments.

To see how to enable bash completion check out the jx completion