Moved pkgfile config to its own file
This commit is contained in:
		
							parent
							
								
									571770ef94
								
							
						
					
					
						commit
						3e260b5876
					
				
							
								
								
									
										5
									
								
								.bashrc
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								.bashrc
									
									
									
									
									
								
							@ -6,7 +6,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# Reference: https://wiki.thurstylark.com/Bashrc.html
 | 
					# Reference: https://wiki.thurstylark.com/Bashrc.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### GENERAL CONFIG ###
 | 
					### BASH CONFIG ###
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# If not running interactively, don't do anything
 | 
					# If not running interactively, don't do anything
 | 
				
			||||||
[[ $- != *i* ]] && return
 | 
					[[ $- != *i* ]] && return
 | 
				
			||||||
@ -14,9 +14,6 @@
 | 
				
			|||||||
# If a directory is given without any command, CD into it.
 | 
					# If a directory is given without any command, CD into it.
 | 
				
			||||||
shopt -s autocd 
 | 
					shopt -s autocd 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enable pkgfile to automatically search for packages if pkgfile is installed
 | 
					 | 
				
			||||||
[[ -s /usr/share/doc/pkgfile/command-not-found.bash ]] && source /usr/share/doc/pkgfile/command-not-found.bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
### OTHER CONFIG ###
 | 
					### OTHER CONFIG ###
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.bashrc.d/30-pkgfile.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.bashrc.d/30-pkgfile.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					# Enable pkgfile to automatically search for packages if pkgfile is installed
 | 
				
			||||||
 | 
					[[ -s /usr/share/doc/pkgfile/command-not-found.bash ]] && source /usr/share/doc/pkgfile/command-not-found.bash
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user