Test for a local .bashrc before trying to source it
This commit is contained in:
		
							parent
							
								
									7368569d34
								
							
						
					
					
						commit
						882b269796
					
				
							
								
								
									
										6
									
								
								.bashrc
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								.bashrc
									
									
									
									
									
								
							@ -215,7 +215,7 @@ vactivate() {
 | 
				
			|||||||
	source $path/bin/activate; bash; deactivate
 | 
						source $path/bin/activate; bash; deactivate
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Append a local bashrc. Meant to give the ability to tune a bashrc for a
 | 
					# Append a local bashrc if it exists. This gives the ability to insert untracked
 | 
				
			||||||
#  specific environment. These won't be tracked in vcsh.
 | 
					# modifications to this .bashrc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source ~/.local.bashrc
 | 
					[[ -s ~/.local.bashrc ]] && source ~/.local.bashrc
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user