alfred-repos icon indicating copy to clipboard operation
alfred-repos copied to clipboard

Support for shell scripts in opening apps

Open mikybars opened this issue 4 years ago • 1 comments

Currently if I want to open a repo with IntelliJ Idea the official recommendation is to leverage the auto-generated shell script /usr/local/bin/idea. Unfortunately that's not working when I set it up in one of the app_* options:

  "app_cmd": "/usr/local/bin/idea", 

If I inline it I get it working but then I end up with something like this:

  "app_cmd": "/Users/miguel.perez/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7660.26/IntelliJ IDEA.app/Contents/MacOS/idea", 

Which has two problems:

  • It's likely to change in future releases of IntelliJ (different versions with different build numbers and that's why they provide a wrapper script)
  • It's look ugly when you hold the mod key in the results listing: ~/projects/../... // Open in /Users/miguel.perez/Library/Applic

mikybars avatar Nov 30 '20 06:11 mikybars

I would like this as well, it would make it possible for me to use this with Gitkraken.

DieterHolvoet avatar Dec 06 '20 21:12 DieterHolvoet