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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55484 in the body.
You can then email your comments to 55484 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#55484; Package guix. (Tue, 17 May 2022 15:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 17 May 2022 15:19:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Setup PS1 for 'guix shell/environment' in guix-install.sh
Date: Tue, 17 May 2022 11:18:00 -0400
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.

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#55484; Package guix. (Sat, 11 Jun 2022 03:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 55484 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 55484 <at> debbugs.gnu.org
Subject: Re: 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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 07 Oct 2022 12:31:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Fri, 07 Oct 2022 12:31:02 GMT) Full text and rfc822 format available.

Message #13 received at 55484-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 55484-done <at> debbugs.gnu.org
Subject: Re: bug#55484: Setup PS1 for 'guix shell/environment' in
 guix-install.sh
Date: Fri, 07 Oct 2022 08:30:01 -0400
Hi,

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

> 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.

I found a not too convoluted way to do this and pushed as 9ca0f9e5a9.

Closing.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Nov 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 144 days ago.

Previous Next


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