tcsh question

GoijI P goijiud at hotmail.com
Thu Jul 15 05:32:09 UTC 2004


~/.tcshrc   -  terminal tite CWD:

switch ($TERM)
    case "xterm*":
        alias precmd 'echo -n "\033]0;${HOST}:$cwd\007"'
        breaksw
endsw

did the work.


>>>Try 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.

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE 
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/





More information about the Redhat-install-list mailing list