[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is it a bug that PWD=whatever sets PS1's \w to that regardless
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: is it a bug that PWD=whatever sets PS1's \w to that regardless |
Date: |
Tue, 16 Mar 2021 14:32:55 +0100 |
okay, cool, thank you for valuable infos =))
On Tue, Mar 16, 2021 at 2:31 PM Chet Ramey <chet.ramey@case.edu> wrote:
> On 3/16/21 6:23 AM, Alex fxmbsw7 Ratchev wrote:
> > .. ?
> >
> > # root ~/ogt2/confs ( 0 @ 2 ) boost ( 42098 @ 1615890149.004363 ==
> > 2021-03-16+11:22:2920 ) #
> > PWD=/bla
>
> No. If you want to set PWD instead of letting cd/pushd/popd manage it,
> all bets are off.
>
> Just like setting HOME changes tilde expansion.
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>