Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Very silly question


Alexander Else was once rumoured to have said:
> On Wed, 1 Aug 2001, [iso-8859-1] Bernhard Lüder wrote:
> 
> > When in a sub-directory how do you get bash to show the entire path from / ?
> 
> You mean in the prompt?  PS1='\h:`pwd`\$ '

PS1='\h:\w\$ '

is generally nicer - \w shows the current directory from either /, or
~, whichever is closer.

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  xfire@xxxxxxxx | on 100% Recycled Electrons
--==============================================--