1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

Only shadow if command line tools aren't installed

This commit is contained in:
RGBCube 2025-02-09 16:47:19 +03:00
parent 02f3acfe30
commit 6cd35eead1

View file

@ -42,7 +42,9 @@ def main --wrapped [
if (uname | get kernel-name) == "Darwin" {
darwin-rebuild switch --flake (".#" + $host) ...$nix_flags
darwin-shadow-xcode-popup
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
darwin-shadow-xcode-popup
}
darwin-set-zshrc
} else {