The FreeBSD Diary |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
Changing your tcsh prompt
14 January 2000
|
see also Shells The research for this article was done by Hydro- and huey_ on Undernet's #FreeBSD IRC channel. |
man tcsh
|
Hydro- told me where to look. If you want the prompt set each time you login, put the code in either .tcshrc or .login in your home directory. But my opinion is that you should use the shell-specific file for shell-specific things. In other words, I recommend .tcsh over .login. |
.login
|
First, go to your home directory: If you want a prompt that looks like: [user@host] current/path(cmnd#) Then use: set prompt="%B[%n@%m]%b%/(%h): " |
Changing your tcsh prompt
20 May 2000
|
Andrew Zavjalov writes in with this stuff about prompts:
|