date into prompt of csh
Wolfgang Mueller
wolfgang at cadlab.UUCP
Thu Aug 3 19:50:04 AEST 1989
Does anybody know how to set the actual ( set PROMPT="(`date`)>" )
time in the prompt of a csh after each command ?????????
I think I've seen such a prompt in some article in the net.
Was it really the csh or was it only a special feature of a different
shell?
The real problem is to discover the end of each (!!!) command.
So its a rather different problem than to set the current directory
into the prompt because this is done by aliasing only the cd command.
But it is impossible to set one alias to all the comands like
"alias * '*; set prompt=`date`'".
wolfgang at cadlab.UUCP
More information about the Comp.unix.questions
mailing list