(address . guix-patches@gnu.org)
* gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
skeleton bash_profile.
---
gnu/system/shadow.scm | 3 +++
1 file changed, 3 insertions(+)
Toggle diff (16 lines)
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
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmM9ZvgACgkQIgjSCVjB
3rBwQg/+LwT5yhVS+gk5otYvMlFbyR8wovTyYYNuzRm+1YWJlOSHZ7wFiuYoeenV
8/fyti6K94xtzP507kCmeSKB6Sxr64aLSg49h9rXIqes9DXoM3vwjfd7PjN2mQ59
cXMdvP+v33nQWYXeYlopRXOJhsk/XYoj3dF5xMlCITZbilH0creSIsXI9OyXM0QY
aeokh+R4qUD2Yf5llAh01tLj1lHzyPmWq6E/nPTGA6fak2fHWYlV83BFPSSA5BDU
8tBk/TSDVgjS89s+s+J3nEBAM9Sjv3PXyXkc/FmyhjNv7eu18PRtLAi5RbGzTsUp
XhnPBnlwY4THU+dG3wwGhuHi3B+YCl28ljJXs/ogqBv01obgBQdlus5EBlsV666o
SCXik1MBEXKbVe4Ew0KbRCpB/SCEmOFfLK3JQWPcwOVG+xDxlgd0dAKNlMX7pWHV
x1f0hGEIiFceKpwKnXTL0zQfN+IKTQcTUKezeAqFsLiBhDID4kMjyWNjeUIrWHuR
aXmcdLfBUgjbUQww0lIngPNzGUO6exzsxMvvMdT3g67WWAe9mWRTClYvmjcylI/Q
vIA3DzOaaet3kGGfuMYIINSeTW9hrWH5wheK6pmaHEXyFEIi9qCUJftCW6IrGX2v
WG+GgAd0TFICgkmP6JCLuiOEbR2Uyi3h5mFSj4lPZ116K+7Q0ME=
=3n+a
-----END PGP SIGNATURE-----