Bumped clap to 4.5 and regenerated shell completions. No behaviour change.
Release builds are now static musl binaries. The glibc build failed on older distributions with "version GLIBC_2.34 not found", which was most of the install issues after the forum post.
Closed the Windows support issue as out of scope: PowerShell history has no timestamps or directories, so most of Quarry's filters would do nothing there.
A post in a terminal-tools forum took Quarry from 12 to 140 GitHub stars in a day. Six issues opened; four were install problems on older Linux distributions.
Quarry no longer indexes commands that export variables whose names end in TOKEN, KEY, SECRET or PASSWORD, or that pass a password flag. They are skipped at index time, not hidden at search time, so they never reach the database.
fish history parser done: reads "- cmd:" and "when:" entries and ignores the "paths:" list. Wrote it by hand rather than pulling in a YAML crate, since fish's format is not quite YAML.
Issue #9 asks for fish support. Third person to ask. fish keeps history in its own YAML-like format.
The precmd hook that records cwd and exit code added 11 ms to every prompt because it spawned the binary. It now appends a line to a log file in shell, and Quarry indexes the log lazily on the next search: 0.4 ms per prompt.
bash history has no timestamps unless HISTTIMEFORMAT was set when the commands ran. Quarry imports those lines in file order with no date and says so in quarry stats.
The index is a SQLite file with an FTS5 table, kept under the XDG data directory. Indexing 48,000 history lines takes 0.6 s; queries return in under 10 ms.
Tried fuzzy matching; the top results were noise for short queries like "git p". Went with token prefix matching ranked by recency and frequency.
zsh extended history lines look like ": 1712345678:0;cargo build". Multi-line commands continue with a trailing backslash, so the parser joins lines until one does not end in an unescaped backslash.
Quarry exists because Ctrl-R cannot answer "what was that rsync I ran in this directory last month?". Goal: search history by text, directory, date and exit code, from one small binary.