Some people don't want to be faced with a UNIX
%
or
$
shell prompt. If you usually run only a few particular UNIX commands, you can put those command names in the shell prompt. Here's a simple one-line Bourne shell prompt for a
.profile
:
PS1='Type "rn", "mailx", "wp", or "logout": '
Next, a multiline prompt ( 7.5 ) for the C shell .cshrc file:
($?prompt) |
if ($?prompt) then set prompt='\\ Type "rn" to read the news,\\ type "mailx" to read and send mail,\\ type "wp" for word processing, or\\ type "logout" to log out.\\ YES, MASTER? ' endif |
---|
You get the idea.
-