[ILUG] file management
chris.higgins at horizon.ie
Thu Nov 22 15:08:05 GMT 2001
> On Thu, Nov 22, 2001 at 08:40:13AM +0000, kevin lyda mentioned:
> > On Thu, Nov 22, 2001 at 01:25:34AM +0000, Paul Jakma wrote:
> > > as for long PATHs: come on kev, how often do you look at your PATH
> > > variable? do you echo it every 5 minutes to satisfyingly see how short
> > > it is? no you dont... it's $PATH, and 99% of the time you never look
> > don't be silly. it's part of my prompt.
> You deserve it then.
set prompt='%B%m:%c3%b%# '
Works perfectly - get to see the last three components, and the hostname
gobbles up the rest :-)
Completely tunable to show lots of other bits, but the path bit is the
> John Looney Chief Scientist
> a n t e f a c t o t: +353 1 8586004
> www.antefacto.com f: +353 1 8586014
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
** Chris Higgins e: chris.higgins at horizon.ie **
** Technical Business Development tel: +353-1-6204916 **
** Horizon Technology Group fax: +353-1-6204949 **
** CCSI# 23364 **
More information about the ILUG