Jarod
Jarod

Reputation: 199

incorrect display when using fish shell

My Mac laptop displays weirdly when using fish shell as below.

enter image description here

It maybe has nothing to do with fish shell, but I can not figure out what is going on.

the ENV: macOS sierra + iterm2(or terminal) + fish 2.4.0

It looks like this in Terminal

enter image description here

Upvotes: 2

Views: 1534

Answers (2)

Michel Rogers-Vallee
Michel Rogers-Vallee

Reputation: 746

I had the same issue recently. You can simply set the following variable color:

# Background color for matching quotes and parenthesis set fish_color_match <your_color>

It will probably affect other things but for now (2 months) I haven't seen anything problematic with that.

Upvotes: 1

Kurtis Rader
Kurtis Rader

Reputation: 7459

Insufficient information. What is TERM set to? In any event this is probably a question for the Fisherman developer and user community. It simply uses the fish set_color command which works fine AFAIK. If set_color is misbehaving please open an issue. My best guess is that you've tweaked the default color pallete that iTerm2 is using. If you press [command-i] and click the "colors" tab does it show something like this: enter image description here

None of the fish developers, including myself, use Fisherman or Oh My Fish so we're not going to be much help with either. However, if you can reproduce the problem with just basic fish commands like set_color we'll be more than happy to help.

Upvotes: 2

Related Questions