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.
This commit is contained in:
Andrew Tropin 2023-02-08 18:01:59 +04:00
parent a545d0adbb
commit a4dfbead19
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -151,6 +151,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 %default-bashrc)