You are not logged in.

#1 2026-01-03 09:18:32

zerodaygym
Member
Registered: 2026-01-03
Posts: 1

Tmux has a black background on fish with starship

Hello,

I have a problem with tmux where tmux on fish with starship has a black background. If I use it with zsh it seems to be normal:
5tpdr4k.png

However, if I use starship with tmux I always get this ugly black background:
TBDIMGV.png

I couldn't figure out what is causing this and I didn't find any similar issues elsewhere. Those screenshots are tmux without any plugins and no .tmux.conf file. Does anyone have any idea what could be causing this behavior and how to fix it? I really appreciate all answers

Offline

#2 2026-01-03 11:48:03

5hridhyan
Member
From: Asia
Registered: 2025-12-25
Posts: 649

Re: Tmux has a black background on fish with starship

Have you tried checking if the fish exports truecolor like the zsh does this by default (depending on distro/config) and in fish you have to export it manually.
in it's config file add

set -gx COLORTERM truecolor

and also make sure tmux also allows truecolor, try creating "~/.tmux.conf" and add

set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*:Tc"

edit:
I’ve provided guidance to the best of my knowledge. I won’t be able to follow up further, hope this will be solved Good luck!

Last edited by 5hridhyan (2026-01-28 15:54:57)


"Nothing matters" -a Nihilist
"Why bother thinking what matters?" -me

Online

Board footer

Powered by FluxBB