I assume he color coded the prompt. You can use ANSI color escape codes in there to e.g. color your hostname.
Here's a generator for Bash: http://bashrcgenerator.com/, the prompt's format string is stored in the $PS1 variable.
Here's a generator for Bash: http://bashrcgenerator.com/, the prompt's format string is stored in the $PS1 variable.
No comments yet.