diff --git a/thefuck/ui.py b/thefuck/ui.py index 37b14acd..a1a82aad 100644 --- a/thefuck/ui.py +++ b/thefuck/ui.py @@ -70,8 +70,14 @@ def select_command(corrected_commands): try: selector = CommandSelector(corrected_commands) except NoRuleMatched: - logs.failed('No fucks given' if get_alias() == 'fuck' - else 'Nothing found') + alias = get_alias() + if alias == 'fuck': + message = 'No fucks given' + elif alias == 'shit': + message = 'Don\'t give a shit' + else: + message = 'Nothing found' + logs.failed(message) return if not settings.require_confirmation: