title: Facing an error on zsh while using pgcli on Mac OS 12
body: <p>I am using M1 Macbook Air. Mac OS 12.0.1 monterey</p>
  <pre><code>$ pgcli
  Traceback (most recent call last):
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logging/__init__.py&quot;, line 723, in emit
      msg = self.format(record)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logging/__init__.py&quot;, line 609, in format
      return fmt.format(record)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logging/__init__.py&quot;, line 402, in format
      s = self._fmt % record.__dict__
  KeyError: u'threadName'
  Traceback (most recent call last):
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/bin/pgcli&quot;, line 11, in &lt;module&gt;
      load_entry_point('pgcli==1.7.0', 'console_scripts', 'pgcli')()
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py&quot;, line 722, in __call__
      return self.main(*args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py&quot;, line 697, in main
      rv = self.invoke(ctx)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py&quot;, line 895, in invoke
      return ctx.invoke(self.callback, **ctx.params)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py&quot;, line 535, in invoke
      return callback(*args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pgcli/main.py&quot;, line 867, in cli
      pgcli.run_cli()
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pgcli/main.py&quot;, line 470, in run_cli
      self.cli = self._build_cli(history)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pgcli/main.py&quot;, line 576, in _build_cli
      style=style_factory(self.syntax_style, self.cli_style),
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pgcli/pgstyle.py&quot;, line 14, in style_factory
      for x, y in cli_style.items()])
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygments/token.py&quot;, line 117, in string_to_tokentype
      node = getattr(node, item)
    File &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygments/token.py&quot;, line 37, in __getattr__
      return tuple.__getattribute__(self, val)
  AttributeError: '_TokenType' object has no attribute 'completion-menu'
  </code></pre>
  <p>Any idea what might be causing this error?
  pip install of pygments is on 2.5.2, up to date.</p>