I have a directory of bash scripts I use frequently, and I tend to launch these via Alfred
Alfred in tu relies on Spotlight to index scripts, and assign them a meta content type of 'public.unix-executable'
Since upgrading from Mavericks to El Capitan, Spotlight was treating SOME of these scripts as 'public.data' and Kind=Document This means they can no longer be launched from Alfred
$ mdls pull_repo1
..
kMDItemContentType = "public.data"
kMDItemContentTypeTree = (
"public.data",
"public.item"
)
..
kMDItemKind = "Document"
Having reindexed Spotlight from scratch, it is now treating ALL of these scripts as public.data
Can anyone give me some insight as to why this has changed in recent OSX, and are there any solutions to fix it?
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 182
تاريخ: سه
شنبه
1 تير
1395 ساعت: 2:03