RogerThiede / dotfiles

OS X dotfiles managed via cider
MIT License
0 stars 0 forks source link

script symlink's don't show up in Spotlight #5

Open RogerThiede opened 7 years ago

RogerThiede commented 7 years ago

When using Cider relink to symlink scripts into ~/Applications or elsewhere, Spotlight will not index them. It appears Spotlight will not use a symlink in results.

RogerThiede commented 7 years ago

Instead of applying a symlink for scripts, special cider before-scripts or cider after-scripts to create hardlinks may be needed. Cider relink doesn't currently offer the capability to produce hardlinks.

Scripts could simply exist in the git repository used to store cider configuration files and thus be indexed by Spotlight but since cider configuration files are usually stored in a dotfile (folder beginning with a period,) they are also not indexed by Spotlight.

RogerThiede commented 7 years ago

Somewhat related, randompassword* scripts won't be indexed by Spotlight because they have no extension. randompassword*.command is needed.