larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.25k stars 74 forks source link

Incorrect documentation regarding multiple search terms #139

Closed fberlakovich closed 3 months ago

fberlakovich commented 6 months ago

The documentation at https://github.com/larkery/zsh-histdb?tab=readme-ov-file#querying-history states that multiple terms can be combined with %. However, using % did not work for me. Looking at the code, histdb uses the sqlite3 GLOB operator, which expects the usual UNIX wildcards instead of the SQL-like %. That is, multiple terms should be combined with * and not %.

larkery commented 3 months ago

Correct - I changed the feature but not the docs, my bad.