Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Tab-completion-capable GUI app launcher' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Tab-completion-capable GUI app launcher
Authored by: 1010011010 on Nov 04, '05 08:40:56PM
Rather than find, use mdfind (on 10.4). Not all applications end in ".app".

$ mdfind "(kMDItemKind = 'Application')"

On my 1GHz powerbook, this command took 0.835 seconds to locate 358 applications.

[ Reply to This | # ]
Create a Tab-completion-capable GUI app launcher
Authored by: wgscott on Nov 05, '05 08:20:48PM
We found that using this in our zsh completion function enables you to skip some of the junk:
mdfind -onlyin /Applications -onlyin /Developer "kMDItemContentType == 'com.apple.application-*'"

[ Reply to This | # ]