dotfiles
dotfiles copied to clipboard
No default names for gnu-sed
It seems that gnu-sed
doesn't have the --with-default-names
parameter anymore.
Environment
- osx mojave
10.14.2
- homebrew
2.0.5
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.
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
@pnodet one could! However, I’d like to stay away from messing with folks’ $PATH
, that’s a pretty personal thing.
Okay no worries, just thought it might be easier to make it default. (because... laziness you know)
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 😃