mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27: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" {
|
if (uname | get kernel-name) == "Darwin" {
|
||||||
darwin-rebuild switch --flake (".#" + $host) ...$nix_flags
|
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
|
darwin-set-zshrc
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue