496
edits
mNo edit summary |
|||
| Line 57: | Line 57: | ||
At this point it gets a little more complicated. But with a little perseverance you can have your own customised and coloured account. The following are the escape sequences for creating the coloured text. | At this point it gets a little more complicated. But with a little perseverance you can have your own customised and coloured account. The following are the escape sequences for creating the coloured text. | ||
{| border="1" cellpadding="2" | |||
!width="200"|Colour | |||
!width="225"|Escape Sequence | |||
|- | |||
|Red text || %{\e[1;31m%} | |||
|- | |||
|Green text || %{\e[1;32m%} | |||
|- | |||
|Yellow text || %{\e[1;33m%} | |||
|- | |||
|Blue text || %{\e[1;34m%} | |||
|- | |||
|Pink text || %{\e[1;35m%} | |||
Grey text | |- | ||
|Cyan text || %{\e[1;36m%} | |||
Grey text | |- | ||
|Grey text || %{\e[1;37m%} | |||
|- | |||
|Grey text || %{\e[1;38m%} | |||
|- | |||
|Grey text || %{\e[1;39m%} | |||
|- | |||
|Dark grey text || %{\e[1;30m%} | |||
|- | |||
|Back to normal || %{\e[0m%} | |||
|} | |||
Here's the tricky part. These colour escapes sequences have to be printed to the prompt within the export command. | Here's the tricky part. These colour escapes sequences have to be printed to the prompt within the export command. | ||
edits