This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't provide destructive instructions
If /usr/local doesn't exist you've just sudo chowned $PWD
- Loading branch information
3684fae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the one-liner should well be changed to:
ruby -e "$(curl http://gist.github.com/raw/323731/install_homebrew.rb)"
3684fae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the case, I propose to use below instead because
$()
didn't work on my shell (fish shell)curl http://gist.github.com/raw/323731/install_homebrew.rb | ruby -e 'eval($stdin.read)'
3684fae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…which should be identical to:
curl http://gist.github.com/raw/323731/install_homebrew.rb | ruby
(Also, if you changed your shell to fish, you should be aware that is spells
$()
as()
.)