camdencheek / fre

Command line frecency tracking
MIT License
121 stars 8 forks source link

Generalize for things other than directories #8

Closed camdencheek closed 5 years ago

camdencheek commented 5 years ago

The tool was originally built with only storing the frecency of directories in mind. This led to some design decisions such as absolutizing paths and the inclusion of a "--purge" option that made the tool almost useful for more general purposes, but not quite. This PR removes those directory-specific portions of the code and internally renames variables to make clear the newly-intended general nature of the code.

Fixes #7