Merge branch 'ls_lah' of git://github.com/crimsonknave/thefuck into crimsonknave-ls_lah
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user