I noticed that on my Mac I don't have any colors in e.g., tig
, weechat
, htop
or ranger
. On my linux I do. It happens in all terminal apps I have (alacritty, iterm and Terminal.app), in zsh
, fish
and bash
.
I'm at a loss how to debug this. My fish syntax highlighting works, ls
has colors, nvim
has colors, git diff
has colors. It appears to happen only in such interactive CLI apps which, I assume, use ncurses
$TERM
set to? Doestype htop
give you the expected path to that command?$TERM
isscreen-256color
intmux
andxterm-256color
outside oftmux
.type htop
gives meusr/local/bin/htop
as is expected since I installed it throughhomebrew
.TERM
or a wrapper around the command that inhibits colored ouput; e.g., that ends up runninghtop --no-color
. I've never seen a case like yours that affects only some commands. There isn't anything about macOS which would account for the problem.10.14.3
macOS Mojave