2 ms·
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://bashrcgenerat
by TimWolla 10y ago
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/ http://bashrcgenerator.com/, the prompt's format string is stored in the $PS1 variable.