mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 21:40:08 +00:00
better spelling when there is just one font file
This commit is contained in:
parent
5567ab3850
commit
ea6607e701
1 changed files with 10 additions and 2 deletions
|
@ -422,11 +422,19 @@ function ask_remove_font() {
|
||||||
done
|
done
|
||||||
print -P ""
|
print -P ""
|
||||||
if (( protected )); then
|
if (( protected )); then
|
||||||
|
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.'
|
flowing Please %Bdelete%b these files and run '%2Fp10k%f %Bconfigure%b.'
|
||||||
|
fi
|
||||||
print
|
print
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
if (( $#fonts == 1 )); then
|
||||||
|
flowing -c "%BDelete this file?%b"
|
||||||
|
else
|
||||||
flowing -c "%BDelete these files?%b"
|
flowing -c "%BDelete these files?%b"
|
||||||
|
fi
|
||||||
print -P ""
|
print -P ""
|
||||||
print -P "%B(y) Yes (recommended).%b"
|
print -P "%B(y) Yes (recommended).%b"
|
||||||
print -P ""
|
print -P ""
|
||||||
|
|
Loading…
Reference in a new issue