guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: system: Source .profile in skeleton bash_profile.


From: guix-commits
Subject: branch master updated: system: Source .profile in skeleton bash_profile.
Date: Wed, 08 Feb 2023 09:22:54 -0500

This is an automated email from the git hooks/post-receive script.

abcdw pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a4dfbead19 system: Source .profile in skeleton bash_profile.
a4dfbead19 is described below

commit a4dfbead19a785cb7a25b53798757b39ad10b828
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Wed Feb 8 18:01:59 2023 +0400

    system: Source .profile in skeleton bash_profile.
    
    Make it consistent with bash_profile generated by Guix Home.
    
    * 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 2e87928368..445a72e2f5 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -151,6 +151,9 @@ alias grep='grep --color=auto'\n"))
 '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  %default-bashrc)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]