[zsh] Clear $path before adding my own directories to it
This commit is contained in:
		
							parent
							
								
									734ab0a7a5
								
							
						
					
					
						commit
						db20fc1b14
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -4,6 +4,7 @@ autoload -Uz update-path
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function init-env-path
 | 
					function init-env-path
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					    path=()
 | 
				
			||||||
    update-path \
 | 
					    update-path \
 | 
				
			||||||
        "$HOME/bin" \
 | 
					        "$HOME/bin" \
 | 
				
			||||||
        "$HOME/.local/bin" \
 | 
					        "$HOME/.local/bin" \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue