Allow bash completion in bd

I made a little function that can be attached to bash to allow tab conpletion to the paths.