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.
main
Samantha McVey 7 years ago committed by Kaleb Elwert
parent a75c63768c
commit d9a1380263

@ -12,7 +12,7 @@
# Check for the minimum supported version. # Check for the minimum supported version.
min_zsh_version='4.3.17' min_zsh_version='4.3.17'
if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then 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 return 1
fi fi
unset min_zsh_version unset min_zsh_version

Loading…
Cancel
Save