1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

better spelling when there is just one font file

This commit is contained in:
romkatv 2020-02-26 14:51:19 +01:00
parent 5567ab3850
commit ea6607e701

View file

@ -422,11 +422,19 @@ function ask_remove_font() {
done
print -P ""
if (( protected )); then
flowing Please %Bdelete%b these files and run '%2Fp10k%f %Bconfigure%b.'
if (( $#fonts == 1 )); then
flowing Please %Bdelete%b this file and run '%2Fp10k%f %Bconfigure%b.'
else
flowing Please %Bdelete%b these files and run '%2Fp10k%f %Bconfigure%b.'
fi
print
exit 0
fi
flowing -c "%BDelete these files?%b"
if (( $#fonts == 1 )); then
flowing -c "%BDelete this file?%b"
else
flowing -c "%BDelete these files?%b"
fi
print -P ""
print -P "%B(y) Yes (recommended).%b"
print -P ""