Node:Colors, Previous:Aliases, Up:Configuration
Colors
Escape codes can be used to display colors in the transfer strings and the prompts. All escape codes must be surrounded by %{ and %} pairs for readline to correctly wrap long lines.
The built-in command ls
has an option --color
. You must set the
environment variable LS_COLORS (or LS_COLOURS) for this to work.
See manpage for GNU ls(1) and
see dircolors, for information how to
do this. If you don't set LS_COLO[U]RS, you can still use the --color
option, since Yafc provides some default settings.
- ANSI attribute codes: Escape codes for attributes