• TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        4 months ago

        Ok, yeah, I can see that there would be times this could matter but like 90% of the time this wouldn’t have mattered for my use case afaik. I didn’t realize you couldn’t backup the old copy in /bin and symlink to the brew one. In fact I thought I did do that long ago.

    • computergeek125@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      If it’s anything like when I used a Mac regularly 7y ago, Homebrew doesn’t install to /bin, it installs to /usr/local/bin, which only works for scripts that use env in their shell “marker” (if you don’t call it directly with the shell). You’re just putting a higher bash in the path, not truly updating the one that comes with the system.

      • paperplane@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        That’s mostly still true, with the small caveat that the default prefix on arm64 macOS is /opt/homebrew rather than /usr/local, so you might have to add it explicitly to your PATH

        • computergeek125@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Oh thank goodness, that was one of my main complaints with the system. Did they ever get around to requiring sudo like Macports (and any other reasonable system level packages manager on BSD/Linux)?