unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh
@ 2022-05-17 15:18 Maxim Cournoyer
  2022-06-11  3:45 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-05-17 15:18 UTC (permalink / raw)
  To: 55484

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh
  2022-05-17 15:18 bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh Maxim Cournoyer
@ 2022-06-11  3:45 ` Maxim Cournoyer
  2022-10-07 12:30   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-06-11  3:45 UTC (permalink / raw)
  To: 55484

Hi,

Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh
  2022-06-11  3:45 ` Maxim Cournoyer
@ 2022-10-07 12:30   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-10-07 12:30 UTC (permalink / raw)
  To: 55484-done

Hi,

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

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-07 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17 15:18 bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh Maxim Cournoyer
2022-06-11  3:45 ` Maxim Cournoyer
2022-10-07 12:30   ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).