Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Fish shell have dark blue as the default color for directories

Tags:

Is it just me?

I have just installed fish using brew install fish and I'm using iTerm2.

Fish shell dark blue

The color is absolutely unreadable. How do I change it to something nicer?

like image 908
Awais Hussain Avatar asked Mar 25 '17 15:03

Awais Hussain


2 Answers

I realized my mistake was with iTerm and not with Fish.

Press CMD+i with an iTerm window open, then click the Colors tab and set it something nicer.

enter image description here

Not sure why this problem didn't show up before, but it seems like it was triggered by the new Fish installation.

like image 85
Awais Hussain Avatar answered Oct 14 '22 21:10

Awais Hussain


Technically that isn't fish doing the coloring. It's the ls command. However, fish does wrap the command in a ls function which tells the command to color the output and use the colors specified by the dircolors command if it is installed. If you don't want the coloring you can create your own ls function that omits the --color=auto flag. Or you can define your own $LS_COLORS env var to keep from using the colors provided by dircolors.

like image 35
Kurtis Rader Avatar answered Oct 14 '22 19:10

Kurtis Rader