You still have to replace /bin/bash and /bin/sh binaries, even after doing a `brew install bash`. ...right? `brew install bash` will just give you /usr/local/bin/bash, and then use that as your interactive shell.
No, you change your user shell to the shell you want. You can do this in the "Accounts" preference pane by control-clicking a user, selecting "Advanced Options" from the context menu, and changing the "Login shell" setting to your preferred shell.
Hacker's Guide to Setting Up Your Mac
91–100 of 267 posts
Re: Hacker's Guide to Setting Up Your Mac
#92Earlier quoted context omitted.
I get the joke, and it was the first thing that popped in my head too. But in all seriousness, OS X is Unix as well, and can do pretty much any Unix based task that GNU/Linux can. Sometimes the best tool for the job is the one you already own.
Try using cpan to install basic modules like MySQL
Re: Hacker's Guide to Setting Up Your Mac
#93Earlier quoted context omitted.
#!/bin/bash
That should be #!/usr/bin/env bash, particularly for BSD which does not install bash in /bin. Nothing new about absolute executable paths being non-portable, #!/bin/bash is as bad as #!/usr/bin/python.
Re: Hacker's Guide to Setting Up Your Mac
#94Step 1. Install linux
Re: Hacker's Guide to Setting Up Your Mac
#95Re: Hacker's Guide to Setting Up Your Mac
#96Earlier quoted context omitted.
It's slow and it has to build the packages most of the time. pkgin will install a precompiled packages very quickly. It is also a whole C program and Homebrew is just ruby scripts.
So the opaque pre-compiled blob that installs other pre-compiled blobs is somehow better than a collection of scripts that lets you build from source? I don't think so... As an update is something that is done occasionally and in the background "slow" is not exactly a reason to change.
Why use OSX, then? Shouldn't you be using Gentoo?
Re: Hacker's Guide to Setting Up Your Mac
#97This "cool hacker settings for your Mac" script turns off your laptop's power saving features (sleep, display dimming, hibernation even though sleep was off(?)), removes at least three kinds of backups for data loss (MobileTimeMachine, Resume, hibernation file), and changes AppKit settings in a way your customers will never be using (by turning off Automatic Termination, which is pretty harmless). Please don't run sc…
> This script should not be run without prior examination. It's quite opinionated and intended to be modified.
Re: Hacker's Guide to Setting Up Your Mac
#98I do not wants to flame, but is there a reason people dislike Macports so much. I tried Homebrew when it was 1-2 years old, but stuck with ports bc it was so stable, compiles from source, and I never heard a serious problem. I heard the opposite complaint on the net, but almost all Macports hate was from many years before. I am the only one who chose not to rely on Homebrew!?
People don't really dislike Macports, they just like shiny new things on github.
Re: Hacker's Guide to Setting Up Your Mac
#99Earlier quoted context omitted.
It's slow and it has to build the packages most of the time. pkgin will install a precompiled packages very quickly. It is also a whole C program and Homebrew is just ruby scripts.
So the opaque pre-compiled blob that installs other pre-compiled blobs is somehow better than a collection of scripts that lets you build from source? I don't think so... As an update is something that is done occasionally and in the background "slow" is not exactly a reason to change.
Give it a try, you might like it (because it rocks!)
Re: Hacker's Guide to Setting Up Your Mac
#100Wow, it takes days for people to set up their Macs? I would be interested in something that would make this take minutes, not hours. It's already pretty easy to setup a Mac for development in a few hours.