From 64eaf96eb862017209eedf0ba848dd973edcd1b1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 29 Sep 2016 10:34:41 +0100 Subject: [PATCH] Add rule --- thefuck/rules/remove_trailing_cedilla.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 thefuck/rules/remove_trailing_cedilla.py diff --git a/thefuck/rules/remove_trailing_cedilla.py b/thefuck/rules/remove_trailing_cedilla.py new file mode 100644 index 00000000..9439c06c --- /dev/null +++ b/thefuck/rules/remove_trailing_cedilla.py @@ -0,0 +1,6 @@ +def match(command): + return command.script.endswith('รง') + +def get_new_command(command): + return command.script[:-1] +