Files
thefuck/thefuck/rules/remove_trailing_cedilla.py
T
Vladimir Iakovlev d05eb0a6dc #552: Fix code style
2016-10-02 17:19:33 +02:00

12 lines
172 B
Python

# -*- encoding: utf-8 -*-
CEDILLA = u"ç"
def match(command):
return command.script.endswith(CEDILLA)
def get_new_command(command):
return command.script[:-1]