diff --git a/Source/Seal.spoon/seal_filesearch.lua b/Source/Seal.spoon/seal_filesearch.lua index 56b8303b..d0f5766a 100644 --- a/Source/Seal.spoon/seal_filesearch.lua +++ b/Source/Seal.spoon/seal_filesearch.lua @@ -128,7 +128,7 @@ end function SpotlightFileSearch:buildSpotlightQuery() local queryWords = hs.fnutils.split(self.query, "%s+") local searchFilters = hs.fnutils.map(queryWords, function(word) - return [[kMDItemFSName like[c] "*]] .. word .. [[*"]] + return [[kMDItemFSName like[cd] "*]] .. word .. [[*"]] end) local spotlightQuery = table.concat(searchFilters, [[ && ]]) return spotlightQuery