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:
parent
02f3acfe30
commit
6cd35eead1
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue