mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-21 12:42:31 +01: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