Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| ############## | |
| # pretty prompt and font colors | |
| ############## | |
| # alter the default colors to make them a bit prettier | |
| echo -en "\e]P0000000" #black | |
| echo -en "\e]P1D75F5F" #darkred | |
| echo -en "\e]P287AF5F" #darkgreen | |
| echo -en "\e]P3D7AF87" #brown | |
| echo -en "\e]P48787AF" #darkblue |