mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 09:39:01 +00:00
fuck...
This commit is contained in:
parent
a0118fad4e
commit
5aa4875aa0
@ -27,7 +27,7 @@ def get_fuckups(): # returns a dictionary of your fuckups from ~/.thefuck/my_fuc
|
|||||||
if IS_FUCKUP:
|
if IS_FUCKUP:
|
||||||
key = line
|
key = line
|
||||||
IS_FUCKUP = False
|
IS_FUCKUP = False
|
||||||
else
|
else:
|
||||||
cmd = line
|
cmd = line
|
||||||
IS_FUCKUP = True
|
IS_FUCKUP = True
|
||||||
fuckups[key] = cmd
|
fuckups[key] = cmd
|
||||||
|
@ -84,7 +84,7 @@ def check_args(settings, args, cmd):
|
|||||||
elif opt == '--remove':
|
elif opt == '--remove':
|
||||||
custom_fuckups.remove_fuckup(val)
|
custom_fuckups.remove_fuckup(val)
|
||||||
return True
|
return True
|
||||||
else
|
else:
|
||||||
return False
|
return False
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logs.failed(err, settings)
|
logs.failed(err, settings)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user