[zsh] Add Homembrew /opt paths to my path if they exist
This commit is contained in:
		
							parent
							
								
									8211c4e4f9
								
							
						
					
					
						commit
						6ee8b800cc
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,8 @@ autoload append_to_path
 | 
			
		|||
function init_path
 | 
			
		||||
{
 | 
			
		||||
    export path=()
 | 
			
		||||
    append-to-path "/opt/brew/bin"
 | 
			
		||||
    append-to-path "/opt/homebrew/bin"
 | 
			
		||||
    append_to_path "/usr/local/bin"
 | 
			
		||||
    append_to_path "/usr/bin"
 | 
			
		||||
    append_to_path "/bin"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue