Re:
by user3939382 on Wednesday December 21, 2022 @06:16PM
(#34087659)
Nope. macOS aliases suck. It’s a binary unmodifiable file that can only point to a file, it can’t specify anything additional.
[ Parent
| on HN ]
Re:
by DangitBobby on Wednesday December 21, 2022 @06:33PM
(#34087820)
Is there a reason you can't add a script to your path and alias that?
#!/usr/bin/env bash
my-command --flag --another-flag $@As far as I know, you can’t get an executable script like that to act like an app that’s launchable when double clicked from Finder or clicked the Dock. Even though it’s executable.
Re:
by DangitBobby on Wednesday December 21, 2022 @06:51PM
(#34087956)
I just tried it, seems to work! Make your script with custom options, mark it as executable, make an alias for it within finder, and drag that into your dock.