[zsh] Echo the result of darwin-hardware-model instead of returning it
This commit is contained in:
		
							parent
							
								
									cdfbce2c4c
								
							
						
					
					
						commit
						9fa1756e45
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ darwin-hardware-model() {
 | 
			
		|||
    if [[ -z "$darwin_hardware_model" ]]; then
 | 
			
		||||
        darwin_hardware_model=`sysctl -n hw.model`
 | 
			
		||||
    fi
 | 
			
		||||
    return "$darwin_hardware_model"
 | 
			
		||||
    echo "$darwin_hardware_model"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
darwin-hardware-model "$@"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue