egetty
Loren M. Lang
lorenl at alzatex.com
Mon Apr 11 01:26:50 PDT 2005
On Sun, Apr 10, 2005 at 06:50:38AM +0200, Gert Cuykens wrote:
> On Apr 10, 2005 4:47 AM, bob at a1poweruser.com <bob at a1poweruser.com> wrote:
> > Gert
> > I see you are using pwd command to display where in directory tree
> > you currently pointing
> > There is a way to configure FBSD to display the directory path as a
> > prefix in front of the command line so you know where you are at in
> > the directory tree at all times, thus eliminating the need to use
> > the pwd command.
> > Issue following command from command line
> >
> > set prompt = "# %/ >" # that's "#space%/space>"
> >
> > /root/.cshrc gets executed when you log on as root. Find and change
> > the set prompt command in .cshrc to the one above and you will never
> > have to use the pwd command again.
> >
>
> No its to long then :)
In bash, there is the ability to have it show just the current
directories name instead of the whole path, I use this for my shell to
cut down on space. Does (t)csh have this as well?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050411/d0ea432f/attachment.bin
More information about the freebsd-questions
mailing list