Cleaned up completions not to output garbage.

Apparently OSX uses an old version of Bash that causes incompatibilities with
most things.