mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-12 05:15:24 +08:00

Our macOS workarounds involve running "xcrun" to check if Git is installed. On a freshly upgraded Ventura system that does not have XCode or CommandLineTools installed, "xcrun" will print this error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun on every prompt. Let's silence this error. (cherry picked from commit a0840637fae7371d8492a86700fe6605cd998634)