mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 15:35:43 +08:00
Limit search to name+description
This commit is contained in:
parent
3c029f9ade
commit
8092fba290
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user