Changing Your ksh Prompt
Like bash, ksh has two prompts you can edit:
You can change either of these prompts using the following steps (we'll modify PS1 in the example). You start by finding your prompt statement (Code Listing 8.17), then modifying it in your editor.
Code Listing 8.17. List your zsh configuration files and look for a prompt statement.
To change your ksh prompt: