larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.29k stars 75 forks source link

Incorrect documentation regarding multiple search terms #139

Closed fberlakovich closed 7 months ago

fberlakovich commented 10 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 7 months ago

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