Files
thefuck/thefuck/rules/ls_all.py
T
2017-08-31 17:58:56 +02:00

11 lines
204 B
Python

from thefuck.utils import for_app
@for_app('ls')
def match(command):
return command.output.strip() == ''
def get_new_command(command):
return ' '.join(['ls', '-A'] + command.script_parts[1:])