GNU bug report logs - #55484
Setup PS1 for 'guix shell/environment' in guix-install.sh

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 17 May 2022 15:19:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 55484 <at> debbugs.gnu.org
Subject: bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh
Date: Fri, 10 Jun 2022 23:45:47 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello Guix,
>
> This is a feature request to take care of configuring PS1 in ~/.bashrc
> (or the most suitable place) for users of guix-install.sh.
>
> It's a small thing but it provides a nicer user experience when they can
> visually see they have entered a Guix environment.

This may be a bit more involved then simply appending the snippet to
their ~/.bashrc (if available), as Debian for example ships its own PS1
configuration there.  I guess we could prompt the user whether they want
the script to override their PS1 configuration.

Maxim




This bug report was last modified 2 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.