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.
This commit is contained in:
parent
a75c63768c
commit
d9a1380263
1 changed files with 1 additions and 1 deletions
2
init.zsh
2
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
|
||||
|
|
Loading…
Reference in a new issue