mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
https://mths.be/dotfiles
MIT License
30.04k stars 8.75k forks source link

No default names for gnu-sed #869

Open PaulRBerg opened 5 years ago

PaulRBerg commented 5 years ago

It seems that gnu-sed doesn't have the --with-default-names parameter anymore.

Environment

jeffbyrnes commented 5 years ago

I’ve got a fix for this in my fork; lemme get a PR opened to handle this & #870, amongst other things that have changed in Homebrew recently.

alrra commented 5 years ago

For reference, Homebrew removed all options from Homebrew/homebrew-core formulae.

pnodet commented 4 years ago

Can we use something like this ?

$ brew install gnu-sed
$ export PATH=$PATH:~$(brew --prefix gnu-sed)/libexec/gnubin
$ echo 'export PATH=$PATH:$(brew --prefix gnu-sed)/libexec/gnubin' >> ~/.zshrc
jeffbyrnes commented 4 years ago

@pnodet one could! However, I’d like to stay away from messing with folks’ $PATH, that’s a pretty personal thing.

pnodet commented 4 years ago

Okay no worries, just thought it might be easier to make it default. (because... laziness you know)

jeffbyrnes commented 4 years ago

I mean, for sure, I hear you! While it would replicate the existing functionality, I think it would be surprising to folks, and I tend to follow the principle of least surprise 😃