Load scripts if exists
This commit is contained in:
		
							parent
							
								
									432846035d
								
							
						
					
					
						commit
						1419bd32d3
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								bashrc
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								bashrc
									
										
									
									
									
								
							|  | @ -1,10 +1,12 @@ | |||
| # Custom scripts | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #find ~/.scripts/ ~/.gscripts/ -type f -name "*.sh" | while read script; do | ||||
| 	#source "$script" | ||||
| #done | ||||
| source ~/.scripts/index.sh | ||||
| source ~/.gscripts/index.sh | ||||
| [ -f ~/.scripts/index.sh ] && source ~/.scripts/index.sh | ||||
| [ -f ~/.gscripts/index.sh ] && source ~/.gscripts/index.sh | ||||
| 
 | ||||
| # Prompt | ||||
| if [[ $USER == 'root' ]]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue