9 lines
		
	
	
		
			127 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			127 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/zsh
 | 
						|
 | 
						|
# Check to see if a command exists
 | 
						|
function command_exists {
 | 
						|
    command -v "$1" &> /dev/null
 | 
						|
}
 | 
						|
 | 
						|
# vim:set ft=zsh:
 |