[zsh] Echo the result of darwin-hardware-model instead of returning it

This commit is contained in:
Eryn Wells 2023-03-29 12:20:38 -07:00
parent cdfbce2c4c
commit 9fa1756e45

View file

@ -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 "$@"