diff options
author | Andrew Tropin <andrew@trop.in> | 2023-02-08 18:01:59 +0400 |
---|---|---|
committer | Andrew Tropin <andrew@trop.in> | 2023-02-08 18:13:08 +0400 |
commit | a4dfbead19a785cb7a25b53798757b39ad10b828 (patch) | |
tree | e87ffa59d85450b0f3edec426726c31d205db1da /gnu | |
parent | a545d0adbbba7df2d328c3b7f1d5b327a07c9232 (diff) | |
download | guix-a4dfbead19a785cb7a25b53798757b39ad10b828.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/system/shadow.scm | 3 |
1 files changed, 3 insertions, 0 deletions
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) |