2.9 Speeding Up Your C Shell with set prompt TestEvery time you start a C shell - in a shell escape ( 30.26 ) , the su ( 22.22 ) command, a shell script, an at job ( 40.1 ) , etc.-the csh reads the .cshrc file in your home directory. Some of those shells are "noninteractive," which means the shell is running a single command or reading from a script file ( 1.5 ) - you won't be typing any commands yourself. If your .cshrc has commands like alias ( 10.2 ) , set cdpath ( 14.5 ) , and others that are only useful in interactive shells, it wastes time to make noninteractive shells read them. You can tell the shell to skip commands that will only be used in interactive shells. Set up your .cshrc this way:
Of course, if you
set your own prompt (
7.1
)
,
be sure to do it on some line below the
Article
7.3
explains another problem that this - |
|