Sample Header Ad - 728x90

Set 256 color prompt in zsh/kitty/tmux

0 votes
0 answers
1026 views
This problem is only for the Kitty terminal (works in alacritty, Hyper; problem exists both on macos and arch linux) currently set my terminal with
PS1='%B%F{magenta}%3~ ${vim_mode}%f%b '
this sets the prompt to magenta in both the base terminal and tmux. however, if I use a 256 color number like 170 in place of magenta, the prompt color gets set in the base terminal but not tmux. is there a way to fix this?
Asked by Jordan Mandel (111 rep)
Dec 12, 2022, 02:41 PM