1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 02:01:13 +00:00

Merge branch 'master' of git://github.com/dannion/thefuck into dannion-master

This commit is contained in:
nvbn 2015-04-20 15:37:45 +02:00
commit 50dfef1d1b

View File

@ -0,0 +1,9 @@
import os
def match(command, settings):
exist = os.path.exists(command.script)
return exist
def get_new_command(command, settings):
return './{}'.format(command.script)