home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!mcsun!fuug!prime!mits!merlin
- From: merlin@mits.mdata.fi (Markku M{kel{)
- Subject: Re: pwd
- Organization: Microdata Oy
- Date: Thu, 31 Dec 1992 18:29:55 GMT
- Message-ID: <merlin.725826595@mits>
- References: <1992Dec31.022725.13611@netcom.com>
- Sender: usenet@prime.mdata.fi (Usenet poster)
- Nntp-Posting-Host: mits.mdata.fi
- Lines: 13
-
- kasajian@netcom.com (Kenneth Kasajian) writes:
-
- >the prompt to show my local directory like in dos PROMPT $P$G
-
- In tcsh you can use:
-
- % set prompt='%~ other stuff'
-
- as a prompt. For example, I use:
-
- % set prompt='[%~] %T %% '
-
- It prints the current directory, time and a %-sign.
-