Adds patterns for excluding file and directories completion.