![]() ![]() Using the normal keyword will reset foreground, background, and all formatting back to default.įish uses some heuristics to determine what colors a terminal supports to avoid sending sequences that it won't understand.Įnable 256 colors if $TERM contains "xterm", except for known exceptions (like MacOS 10.6 Terminal.app)Įnable 24-bit ("true-color") even if the $TERM entry only reports 256 colors. c, -print-colors prints a list of the 16 named colors. b, -background COLOR sets the background color. ![]() This is very useful when an 8 or 16 color terminal might otherwise not use a color. set_color 124212 brblue will instruct set_color to use brblue if a terminal is not capable of the exact shade of grey desired. Depending on the capabilities of your terminal (and the level of support set_color has for it) the actual color may be approximated by a nearby matching reserved color name or set_color may not have an effect on color.Ī second color may be given as a desired fallback color. Hexadecimal RGB values can be in lower or uppercase. A three digit value is equivalent to specifying each digit twice e.g., set_color 2BC is the same as set_color 22BBCC. ![]() fish will choose the closest supported color. brblack has higher brightness than black - towards gray.Īn RGB value with three or six hex digits, such as A0FF33 or f2f can be used. The br- (as in 'bright') forms are full-brightness variants of the 8 standard-brightness colors on many terminals. Black, red, green, yellow, blue, magenta, cyan, whiteīrblack, brred, brgreen, bryellow, brblue, brmagenta, brcyan, brwhite ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |