To customize a shell prompt you
Use an env variable
To set bash, ksh, and sh
Use the env variable $PS1
To customize the csh, tsch, and zsh
Use env variable $prompt
Formatting for bash
More bash formatting
What customizing the prompt looks like
More examples
Alias
A way to create nicknames for commands
How to set an alias
Removing alias
How to make an alias persistent?
Add it to a . File