Added a fix for completion in bash (hopefully).