diff --git a/thefuck/rules/cat_dir.py b/thefuck/rules/cat_dir.py index 7c6b35e..7c0f3d8 100644 --- a/thefuck/rules/cat_dir.py +++ b/thefuck/rules/cat_dir.py @@ -1,9 +1,8 @@ import os - from thefuck.utils import for_app -@for_app('cat') +@for_app('cat', at_least=1) def match(command): return ( command.output.startswith('cat: ') and