Commit 751ca97a authored by Stephen M. Coakley's avatar Stephen M. Coakley Committed by GitHub

Merge pull request #505 from oh-my-fish/fix/search-only-desc

Limit search to name+description
parents 3c029f9a 8092fba2
......@@ -73,7 +73,7 @@ function omf.index.query -d 'Query packages in the index'
type_matches = 1;
}
!text_matches && !/^#/ {
!text_matches && !/^#/ && $1 == "description" {
if (match(tolower($2), q_text)) {
text_matches = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment