Re: [gentoo-user] Re: bash scrip prompt after bootstrap

2018-04-02 Thread Bas Zoutendijk
On Mon 2 Apr 2018 at 09:25:57 -0700, Ian Zimmerman wrote: > Ah, this is a comedy of errors. You've missed my intended point, which > was wrong; but now I see the real problem. > > I missed the outermost single quotes in your echo command, so I thought > the parent shell would strip the double qu

Re: [gentoo-user] Re: bash scrip prompt after bootstrap

2018-04-02 Thread Bas Zoutendijk
On Mon 2 Apr 2018 at 08:14:40 -0700, Ian Zimmerman wrote: > This pipe is something of a Rube Goldberg device. Why not pass the > variable directly: > > chroot $ROOT /usr/bin/env PS1="(chrooted to $HOST) $PS1" bash That is of course a lot more elegant, I must have been half-asleep when I w