Fix: terminal stuck when completing man command

This was due to this: https://github.com/Homebrew/homebrew/issues/33659