In B shell's .profile, I set up as following:
if 'cd' "$@"
PS1="`uname -n`:`pwd` $ "
So evenytime when I do "cd", it shows me the current directory.
I am trying do the same thing in C shell. I add these statements in .cshrc file, but it doesn't work.
Is there anybody who can tell me how to set a function to an alias in C shell? Thanks.