mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
0b7fd6ae2a
When someone tries to remove a directory without specifying `-rf`, e.g. $ mkdir foo $ rm foo the shell refuses to remove the directory with an error: rm: foo: is a directory Instead, you need to use $ rm -rf foo This rule adds fuck support for this: $ mkdir foo $ rm foo rm: foo: is a directory $ fuck rm -rf foo