Commit Graph

2 Commits

Author SHA1 Message Date
nvbn d3d1f99232 Move special data types to types 2015-04-22 23:04:22 +02:00
Nils Winkler 0b7fd6ae2a Added rm -rf support
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
2015-04-20 12:32:32 +02:00