Bash: Fix command caching in completion on OSX