From 9fa1756e452ab9276c703ec7a25fa282d76074cb Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 29 Mar 2023 12:20:38 -0700 Subject: [PATCH] [zsh] Echo the result of darwin-hardware-model instead of returning it --- zsh/func/darwin/darwin-hardware-model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/func/darwin/darwin-hardware-model b/zsh/func/darwin/darwin-hardware-model index ea8db4b..d19603b 100644 --- a/zsh/func/darwin/darwin-hardware-model +++ b/zsh/func/darwin/darwin-hardware-model @@ -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 "$@"