.profile: Simplify path patching even more
This commit is contained in:
		
							
								
								
									
										10
									
								
								.profile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.profile
									
									
									
									
									
								
							@@ -25,20 +25,10 @@
 | 
				
			|||||||
_baseshell="$(basename -- "$0")"
 | 
					_baseshell="$(basename -- "$0")"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Patch PATH
 | 
					# Patch PATH
 | 
				
			||||||
unset PATH
 | 
					 | 
				
			||||||
for dir in \
 | 
					for dir in \
 | 
				
			||||||
	"$HOME/.bin" \
 | 
						"$HOME/.bin" \
 | 
				
			||||||
	"$HOME/.local/bin" \
 | 
						"$HOME/.local/bin" \
 | 
				
			||||||
	"$HOME/.firestarter" \
 | 
						"$HOME/.firestarter" \
 | 
				
			||||||
	"/usr/games" \
 | 
					 | 
				
			||||||
	"/usr/local/games" \
 | 
					 | 
				
			||||||
	"/snap/bin" \
 | 
					 | 
				
			||||||
	"/sbin" \
 | 
					 | 
				
			||||||
	"/bin" \
 | 
					 | 
				
			||||||
	"/usr/sbin" \
 | 
					 | 
				
			||||||
	"/usr/bin" \
 | 
					 | 
				
			||||||
	"/usr/local/sbin" \
 | 
					 | 
				
			||||||
	"/usr/local/bin" \
 | 
					 | 
				
			||||||
	"/usr/local/opt/coreutils/libexec/gnubin" \
 | 
						"/usr/local/opt/coreutils/libexec/gnubin" \
 | 
				
			||||||
	"/usr/local/opt/gnu-sed/libexec/gnubin" \
 | 
						"/usr/local/opt/gnu-sed/libexec/gnubin" \
 | 
				
			||||||
	"/usr/local/opt/grep/libexec/gnubin" \
 | 
						"/usr/local/opt/grep/libexec/gnubin" \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user