Color Zsh at Color

Color Zsh. The colors function records the names of colors and similar attributes (bold, underline and so on) in the associative array color.this array associates names with terminal attribute strings, which are numbers, e.g. # note that some terminals do not support all combinations.

Custom colors in ohmyzsh themes DEV Community
Custom colors in ohmyzsh themes DEV Community from dev.to

A note about zsh the latest version of macos comes with zsh instead of bash. For example in create a new zsh theme &try this You can also use these built in colors.

Custom colors in ohmyzsh themes DEV Community

It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout. Now all you need to is to reference the color code outputted like so $fg[000]in your zsh theme, just replace 000 with the color code 000 is black btw &you are good to go! It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout. For example in create a new zsh theme &try this