Closed dankegel closed 6 years ago
I expect installing gimp to let me run gimp via the commandline by typing gimp
We don’t make such promises anywhere. Your expectation is misaligned from our goals.
Add this to your shell’s startup files: alias gimp='open /Applicatons/GIMP.app'
. Done.
Hrm. I thought brew was for commandline users coming from e.g. linux, and tried to make them feel at home.
Guess I was wrong.
@dankegel you are thinking of Homebrew; Homebrew Cask is for installing GUI applications.
Why is there any difference? I often run gui applications from the commandline, and so do many other linux users.
The difference is that Cask just installs Gimp from the .dmg
file found on the official Gimp homepage, as if you had downloaded and installed it manually. The official .dmg
does not include binaries by default for MacOS:
As @vitorgalvao has mentioned, you need to add an alias
to launch the Gimp GUI from the command line.
@dankegel Don’t fixate on Linux. We’re not a package manager for Linux users that use macOS.
We’re a package manager for macOS users, and we act accordingly to macOS conventions and expectations. macOS’ *nix functionality isn’t tackeed on — it’s native. We don’t need to imitate Linux behaviour, we do what makes sense for macOS.
This bit me again. I already had gimp installed, but expected typing 'gimp' on the commandline to run gimp. It took me several minutes to realize this. The habits of expecting the world to work from the commandline are extremely hard to break.
Would you accept a patch that made this work?
And I just did it again; even after writing the above, I expected 'gimp foo.png' to open foo.png.
Would you accept a patch that made this work?
No, and we’ve already explained why.
We’ve also explained how to fix it in your install. We’re not going to change our whole rules for a single user with a single use-case that can be fixed permanently with a small fix on their part.
General troubleshooting steps
--force
and the issue is still present.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
I expect installing gimp to let me run gimp via the commandline by typing gimp, but instead I have to to type open /Applicatons/GIMP.app, which is a lot more keystrokes. It also took me 20 minutes to figure what wtf was wrong.
Output of your command with
--verbose --debug
Output of
brew cask doctor