From: Ian Zimmerman <itz@very.loosely.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: bash scrip prompt after bootstrap
Date: Mon, 2 Apr 2018 11:40:06 -0700 [thread overview]
Message-ID: <20180402184005.sksraqtz7kdslapm@matica.foolinux.mooo.com> (raw)
In-Reply-To: <20180402171805.GB26074@blackeye.localdomain>
On 2018-04-02 19:18, Bas Zoutendijk wrote:
> That is exactly what I meant to do, and I admit it is rather kludgey.
> Because of the single quotes, which are around everything but $HOST,
> the double quotes are literally echoed. The child shell will
> therefore see the PS1 definition surrounded by double quotes. The
> echo part should be equivalent to this, which may be clearer:
>
> echo "export PS1=\"(chroot $HOST) \$PS1\"; exec <dev/tty"
>
> For the record, my original Goldberg device works for me. /How/ it
> works is another question, on which we will hopefully reach consensus
> at some point.
I see. Color me stumped; your solution should work.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
next prev parent reply other threads:[~2018-04-02 18:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-30 16:33 [gentoo-user] bash scrip prompt after bootstrap thelma
2018-03-30 17:10 ` Bas Zoutendijk
2018-03-30 18:20 ` thelma
2018-04-02 2:54 ` thelma
2018-04-02 8:00 ` Bas Zoutendijk
2018-04-02 8:25 ` David Haller
2018-04-02 9:29 ` Bas Zoutendijk
2018-04-02 15:14 ` [gentoo-user] " Ian Zimmerman
2018-04-02 15:55 ` Bas Zoutendijk
2018-04-02 16:25 ` Ian Zimmerman
2018-04-02 17:18 ` Bas Zoutendijk
2018-04-02 18:40 ` Ian Zimmerman [this message]
2018-04-02 16:50 ` [gentoo-user] " thelma
2018-04-02 18:36 ` Tom H
2018-04-02 20:40 ` Bas Zoutendijk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180402184005.sksraqtz7kdslapm@matica.foolinux.mooo.com \
--to=itz@very.loosely.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox