Remove Homebrewed GNU coreutils from path

I had these set up in the first place mostly because GNU ls supports
--color=auto and the BSD ls provided with MacOS didn't, causing problems
if I aliased ls to ls --color=auto.

And I don't really need that any more, especially since I prefer to use
lsd-rs/lsd in place of the coreutils ls nowadays. Additionally, the BSD
ls that comes with MacOS now *does* support that flag, so in a pinch it
can do what I need.

Defaulting to the natively installed coreutils should help my usage of
these tools more portable too, rather than always relying on GNU-isms.
Given my huge reliance on Zsh-specific features that's not something I'm
doing super well anyway, but still.
This commit is contained in:
Danielle McLean 2023-10-31 15:31:22 +11:00
parent fadf484cb7
commit d85fdd0796
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -2,7 +2,6 @@
path=(/usr/local/bin $path)
if (( $+commands[brew] )); then
path=(
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/sbin
~/Library/Python/*/bin(N)
/usr/local/share/google-cloud-sdk/bin