[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] Time var
Something like this might help you out. Just use whatever flags to the
date command you want.
alias prompt 'set prompt="`hostname` `date`: `pwd`>"'
alias cd 'cd \!*; prompt'
prompt
...and stick them in your .cshrc file somewhere.
MG.
On Thu, 4 May 2000, Suresh Rajagopalan wrote:
> Does anyone know of a way to display the current time, in c shell, I want
> to stick it in my .cshrc file at work, unfortunately we have an AIX box,
> which has a lot of shells cept for tcsh? So I cant use %t.
>
>
> --
> You are subscribed to the progsoc mailing list. To unsubscribe, send a
> message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
> If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
>
> This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>
>
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>