1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00
Scott Colby fe0785bc42 Create cat_dir rule for replacing cat with ls (#823)
* 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.
2018-07-10 00:51:42 +02:00
..
2015-04-25 03:13:57 +02:00
2017-09-03 10:10:50 +02:00
2015-09-08 15:24:49 +03:00
2017-08-26 06:16:51 +02:00
2017-10-10 08:31:45 +02:00