0

When I delete multiple files with rm -fr * from the command line I get a confirmation like this:

zsh: sure you want to delete all 4 files in /Users/admin/build/test [yn]?

how to disable it for the current bash session?

My OS: MacOS Big Sur 11.6

1 Answer 1

1

You're not using bash. You're using zsh. Obviously.

Your question is answered here https://stackoverflow.com/questions/27988160/why-does-rm-f-ask-me-for-confirmation-on-zsh

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .