Skip to content

Commit

Permalink
Limit search to name+description
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Apr 28, 2017
1 parent 3c029f9 commit 8092fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/omf/functions/index/omf.index.query.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8092fba

Please sign in to comment.