mirror of
https://github.com/nvbn/thefuck.git
synced 2026-02-08 08:42:15 +00:00
Add rule
This commit is contained in:
6
thefuck/rules/remove_trailing_cedilla.py
Normal file
6
thefuck/rules/remove_trailing_cedilla.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def match(command):
|
||||
return command.script.endswith('ç')
|
||||
|
||||
def get_new_command(command):
|
||||
return command.script[:-1]
|
||||
|
||||
Reference in New Issue
Block a user