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:
		
							parent
							
								
									a545d0adbb
								
							
						
					
					
						commit
						a4dfbead19
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -151,6 +151,9 @@ alias grep='grep --color=auto'\n"))
 | 
				
			||||||
'useradd' in the home directory of newly created user accounts."
 | 
					'useradd' in the home directory of newly created user accounts."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (let ((profile (plain-file "bash_profile" "\
 | 
					  (let ((profile (plain-file "bash_profile" "\
 | 
				
			||||||
 | 
					# Set up Guix Home profile
 | 
				
			||||||
 | 
					if [ -f ~/.profile ]; then . ~/.profile; fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Honor per-interactive-shell startup file
 | 
					# Honor per-interactive-shell startup file
 | 
				
			||||||
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
 | 
					if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
 | 
				
			||||||
        (bashrc  %default-bashrc)
 | 
					        (bashrc  %default-bashrc)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue