charcoal-dict 0.2.8

A command line dictionary
1
2
3
4
5
6
import os

if __name__ == "__main__":
    with open("~/.zhistory", 'r') as f:
        lines = [line for line in f.readlines() if line.startswith("ww ")]
    print(lines)