Fix tab completion for Mac OS X