New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew linkapps deprecated, thoughts? #450
Comments
🤷♂️ |
|
Homebrew already links as @splhack suggested, yet it doesn't overcome the issues with spotlight. I've only been able to open macvim from terminal with |
I typically open MacVim via double clicking a file from the Finder. Right now I'm curious why |
sometimes is necessary to have access to the app in the cellar directory. I just installed a package in R and it didn't work properly because I moved the QGIS.app from the cellar to /applications. I really think that the best solution would be move the app instead of link/symboic-linking it, and then create a symbolic-link in its place. I did that with this case and I fixed the problem while I had only one copy of the bundle app and I can call the app from spotlight (like any other mac app) |
Another option hard links (instead of symbolic ones) or Aliases like this: find /Applications -type l -depth 1 | while read f; do osascript -e "tell app \"Finder\" to make new alias file at POSIX file \"/Applications\" to POSIX file \"$(stat -f%Y "$f")\""; rm "$f"; done |
For anyone who ends up here via Google, the preferred method to install via Homebrew seems to be the cask:
will install MacVim into
|
They do behave somewhat differently, as Homebrew directly checks out the repository and builds the code locally, which is a somewhat more involved step and allows you to check out later changes than casks, which only distribute binaries built by us when I do a release. |
In reference to Homebrew/brew/pull/1808
brew linkapps
has been deprecated.I compile MacVim using Homebrew and use
linkapps
all the time. Works somewhat fine.Though since it'll eventually be removed I can't imagine myself having to manually link the .app bundle into
/Applications/
every single time I upgrade.The suggestion is to move .app type formula to
brew cask
I'm not sure how that'll help the situation though.
Thoughts?
The text was updated successfully, but these errors were encountered: