.cshrc file [message #222502] |
Mon, 05 March 2007 03:57 |
shahnazurs
Messages: 240 Registered: June 2005 Location: India
|
Senior Member |
|
|
Hi.
Please explain me what exactly these lines do
alias setprompt 'set prompt=`hostname`:"${cwd}>"'
setprompt # to set the initial prompt
alias cd 'chdir \!* && setprompt'
Thanks,
Shahnaz.
|
|
|
|
Re: .cshrc file [message #222716 is a reply to message #222562] |
Tue, 06 March 2007 02:12 |
shahnazurs
Messages: 240 Registered: June 2005 Location: India
|
Senior Member |
|
|
My shell is c shell, i can see the content of the variable cwd as current working directory
echo $cwd
Thanks,
Shahnaz.
|
|
|