From a4dfbead19a785cb7a25b53798757b39ad10b828 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Wed, 8 Feb 2023 18:01:59 +0400 Subject: 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) -- cgit 1.4.1