diff --git a/cheat/sheets.py b/cheat/sheets.py index 58cf976..61b851d 100644 --- a/cheat/sheets.py +++ b/cheat/sheets.py @@ -84,7 +84,7 @@ def search(term): for cheatsheet in sorted(get().items()): match = '' for line in open(cheatsheet[1]): - if lowered_term in line: + if lowered_term in line.lower(): match += ' ' + line if match != '':