switch ($TERM)
case "xterm*":
alias precmd 'echo -n "\033]0;${HOST}:$cwd\007"'
breaksw
endswTry using one of these commands to see which one you prefer:
prompt %/ prompt %~
Then put the one you like in your ~/.tcshrc script. This is all explained in the "Special Shell Variables" section of "man tcsh"
> how do i i run the command?.: > set prompt = %~ ??
Yes. You probably want something like one of these:
set prompt = "[%/]$ " set prompt = "[%~]$ "
> sorry, been away from linux for sometime.