Changed rm -i to -I.
-I will only prompt for more than 3 files or if -r is also used.
RTFM for details.