From d9a1380263bbeb27a9ed91b79e04e99b65760535 Mon Sep 17 00:00:00 2001 From: Samantha McVey Date: Mon, 19 Jun 2017 14:18:14 -0700 Subject: [PATCH] Change print to printf in init.zsh error (#1335) When my zsh had issues, and I was debugging it, this line would end up being run but no output would be made to the screen. Changing it from print to printf caused the error to properly be displayed. --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index 665e6c40..74d9edde 100644 --- a/init.zsh +++ b/init.zsh @@ -12,7 +12,7 @@ # Check for the minimum supported version. min_zsh_version='4.3.17' if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then - print "prezto: old shell detected, minimum required: $min_zsh_version" >&2 + printf "prezto: old shell detected, minimum required: %s\n" "$min_zsh_version" >&2 return 1 fi unset min_zsh_version