GNU/Linux ◆ screen-256color ◆ zsh 184 views

When using dircolors e.g. from https://github.com/seebi/dircolors-solarized, which have a flashing “missing file” entry, you get a hard to read angry flashing tab completion.

The problem is fundamentally the default python/readline tab completion highlights files, and most missing python things aren’t existing files (you can test this by creating a file say __doc__ and hitting tab).

You can fix this with the following inputrc

$if python
  set colored-stats off
$endif

See https://stackoverflow.com/questions/20172850/print-string-with-newline-reliably-in-both-bash-and-dash