mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
fe0785bc42
* Create `cat_dir` rule for replacing `cat` with `ls` when you try to run `cat` on a directory. * Changed to string methods in response to feedback. Added a test to make sure lines like 'cat cat' don't become 'ls ls'. Added trailing '\n's to test cases.