Merge branch 'ls_lah' of git://github.com/crimsonknave/thefuck into crimsonknave-ls_lah

This commit is contained in:
nvbn
2015-04-25 03:35:53 +02:00
3 changed files with 21 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
def match(command, settings):
return ('ls' in command.script and not ('ls -' in command.script))
def get_new_command(command, settings):
command = command.script.split(' ')
command[0] = 'ls -lah'
return ' '.join(command)