- To: Alexander Else <aelse@xxxxxxxxxxxx>
- Subject: Re: [SLUG] Very silly question
- From: Crossfire <xfire@xxxxxxxx>
- Date: Wed Aug 1 15:22:02 2001
- Cc: Bernhard L?der <bl@xxxxxxxxxxx>, SLUG user group <slug@xxxxxxxxxxx>
- User-agent: Mutt/1.3.18i
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
--==============================================--