[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: tcsh question



~/.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/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]