unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile.
@ 2022-01-14  6:16 Andrew Tropin
  2022-11-03 15:49 ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Tropin @ 2022-01-14  6:16 UTC (permalink / raw)
  To: 58303

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]


* gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
skeleton bash_profile.
---
 gnu/system/shadow.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 59f0a02c8b..f30ac79932 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -123,6 +123,9 @@ (define (default-skeletons)
 'useradd' in the home directory of newly created user accounts."
 
   (let ((profile (plain-file "bash_profile" "\
+# Set up Guix Home profile
+if [ -f ~/.profile ]; then . ~/.profile; fi
+
 # Honor per-interactive-shell startup file
 if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
         (bashrc  (plain-file "bashrc" "\
-- 
2.37.3


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile.
  2022-01-14  6:16 [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile Andrew Tropin
@ 2022-11-03 15:49 ` Christopher Baines
  2022-11-28  6:02   ` Andrew Tropin
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2022-11-03 15:49 UTC (permalink / raw)
  To: Andrew Tropin; +Cc: 58303

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]


Andrew Tropin <andrew@trop.in> writes:

> [[PGP Signed Part:Undecided]]
>
> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
> skeleton bash_profile.
> ---
>  gnu/system/shadow.scm | 3 +++
>  1 file changed, 3 insertions(+)

Hey!

This issue has been open for a while, is the patch still relevant?

It seems OK to me, but then I don't know much about this shell stuff or
guix home.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

* [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile.
  2022-11-03 15:49 ` Christopher Baines
@ 2022-11-28  6:02   ` Andrew Tropin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Tropin @ 2022-11-28  6:02 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 58303

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

On 2022-11-03 16:49, Christopher Baines wrote:

> Andrew Tropin <andrew@trop.in> writes:
>
>> [[PGP Signed Part:Undecided]]
>>
>> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
>> skeleton bash_profile.
>> ---
>>  gnu/system/shadow.scm | 3 +++
>>  1 file changed, 3 insertions(+)
>
> Hey!
>
> This issue has been open for a while, is the patch still relevant?
>
> It seems OK to me, but then I don't know much about this shell stuff or
> guix home.
>
> Chris

Yep, still relevant.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2022-11-28  6:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14  6:16 [bug#58303] [PATCH] system: Source .profile in skeleton bash_profile Andrew Tropin
2022-11-03 15:49 ` Christopher Baines
2022-11-28  6:02   ` Andrew Tropin

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