Commit Graph

6 Commits

Author SHA1 Message Date
Ajeet D'Souza 4e5d4a63b8 Refactor DB architecture 2020-03-29 01:50:25 +05:30
Cole Helbling 3be75b1bb4
Implement _ZO_EXCLUDE_DIRS
_ZO_EXCLUDE_DIRS is a list of paths (separated by colons, `:`, on
Unix-based systems, and semicolons, `;`, on Windows) that should be
excluded from the database. Example:

    _ZO_EXCLUDE_DIRS="$HOME:$HOME/something/super/secret:$HOME/caused/by/background/cds"
2020-03-28 08:34:06 -07:00
Ajeet D'Souza e46734fb58 Manually parse environment variables 2020-03-28 00:38:36 +05:30
Ajeet D'Souza f0c5e28fd7 * Add init subcommand for bash, fish, and zsh
* Migrate errors from failure to anyhow
* Migrate argument parsing from clap to structopt
* Empty z command now goes to $HOME
* DB updates are now atomic and isolated
2020-03-11 00:14:50 +05:30
Ajeet D'Souza 784ed10aad Add aging algorithm 2020-03-06 23:13:32 +05:30
Ajeet D'Souza 68a426216d Initial commit 2020-03-05 20:06:58 +05:30