Skip to content
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

Applications path #30

Closed
wants to merge 1 commit into from
Closed

Applications path #30

wants to merge 1 commit into from

Conversation

keith
Copy link
Contributor

@keith keith commented Oct 8, 2012

Changed the installed applications path to /Applications instead of the user specific ~/Applications

@phinze
Copy link
Contributor

phinze commented Oct 8, 2012

The homedir installation path was intentional - to avoid the need for elevated privileges for installation. I want to follow Homebrew's "never sudo" adage.

Though I suppose since /Applications is group writable by admin, this might be okay.

drwxrwxr-x+ 46 root  admin   1.5K Oct  8 10:39 /Applications

Let me think about it a bit more and I'll follow up.

@keith
Copy link
Contributor Author

keith commented Oct 8, 2012

Thanks, for multi-user machines it seems better to have the Applications be installed for everyone.

@rgieseke
Copy link
Contributor

rgieseke commented Oct 8, 2012

Maybe separate commands would be an option?
brew cask linkapps
brew cask linksystemapps

I'd prefer ~/Applications to be the default.

@phinze
Copy link
Contributor

phinze commented Oct 10, 2012

Thanks for the feedback folks - I'll take a stab at making system/user linking optional this weekend.

@ghost
Copy link

ghost commented Oct 12, 2012

+1 for optional. I prefer home directory as much as possible (even as my homebrew prefix), but ~/Applications is rare since people (and apps and even the OS) prefer to dump everything in /

@passcod
Copy link
Contributor

passcod commented Oct 12, 2012

+1/-1 I personally prefer ~/Applications but I understand why you might prefer /Applications (for multi-user and/or consistency).

@jroes
Copy link

jroes commented Oct 19, 2012

I like ~/Applications, except I can't get Alfred or Spotlight to find anything I install there, even when I add it to my Spotlight prefs. Maybe I'm doing something wrong though.

@jedahan
Copy link
Contributor

jedahan commented Oct 19, 2012

Homebrew proper symlinks to /usr/local/bin , not /usr/bin. I'd prefer cask to have as similar behavior as possible (i.e. symlink to ~/Applications). If global linking is a wanted feature, why not first get it added to homebrew proper, then cask?

@shelbyKiraM
Copy link

Applications are a different mode of thinking than command-line binaries. Where it's rather easy to set the PATH variable in a shell, there's no such representation for a GUI. Things in ~/Applications don't show up in /Applications as links or something, so a launcher that relies on things being in /Applications won't work entirely properly.

@hobbs
Copy link

hobbs commented Nov 7, 2012

This worked for me (obviously use with care):
rm -rf ~/Applications; ln -s /Applications ~/Applications

Courtesy of @chadkouse

@dergachev
Copy link

@hobbs symlinking didn't work for me. Are you sure that spotlight picks up symlinks?

I just installed Alfred, and it's really amazing. Can't see myself switching back. (Adding /usr/local/Cellar to Search Scope in Alfred was tricky; required typing CMD-SHIFT-G in the path chooser dialog)

That being said, the fact that cask isn't compatible with Spotlight out of the box is a major problem for many. For example, see this: https://github.com/pivotal/pivotal_workstation/issues/97

@phinze
Copy link
Contributor

phinze commented Nov 15, 2012

Hi folks - I haven't lost track of this. I've just been lurking and gathering the varied feedback you've all been providing, which has been great.

(Adding /usr/local/Cellar to Search Scope in Alfred was tricky; required typing CMD-SHIFT-G in the path chooser dialog)

I'm a big fan of pressing / or ~ on OS X file choosers and just typing the path I'm interested in. I'd sort of forgotten that by default it's confusing to navigate around those blasted things. #finderhate

That being said, the fact that cask isn't compatible with Spotlight out of the box is a major problem for many.

Spotlight support is indeed important. I'll spin off another issue for that.

For example, see this: pivotal/pivotal_workstation#97

Thanks for pointing me over to that issue! I'll jump in on the conversation there and make sure they know I'm around.

As for this, I'm definitely going to add configurability whatever the interface ends up being. I'll follow up with a more concrete proposal.

@dergachev
Copy link

@phinze, thanks for being so responsive... I'll be keeping track of #99 from now on.

@passcod passcod mentioned this pull request Dec 10, 2012
@passcod passcod mentioned this pull request Dec 18, 2012
@keith
Copy link
Contributor Author

keith commented Dec 19, 2012

Seems like this was resolved in the mentioned pull requests. Thanks!

@keith keith closed this Dec 19, 2012
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants