From 45fc5ba08c6e22044dba3d45a1b824249a2e0d62 Mon Sep 17 00:00:00 2001 From: Brandon Lucas Date: Sat, 14 Feb 2026 02:54:00 -0500 Subject: [PATCH] Update instructions to show nix run syntax Users running via nix run don't have ./setup locally, so show the full nix run command in output messages. Uses generic placeholder for repo URL. Co-Authored-By: Claude Opus 4.5 --- setup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup b/setup index 7d4a8cc..bbfcf1a 100755 --- a/setup +++ b/setup @@ -127,10 +127,10 @@ EOF echo " cd $config_dir && git remote add origin && git push -u origin main" echo "" echo " 2. On other devices, run:" - echo " ./setup " + echo " nix run 'git+' -- " echo "" echo " 3. To pair mobile:" - echo " ./setup mobile" + echo " nix run 'git+' -- mobile" } # ============================================================================= @@ -191,10 +191,10 @@ setup_join() { echo "This device: ${device_id:0:20}..." echo "" echo "Add this device on your other machines:" - echo -e " ${BOLD}./setup add $device_id $(hostname)${NC}" + echo -e " ${BOLD}nix run 'git+' -- add $device_id $(hostname)${NC}" fi echo "" - echo "To pair mobile: ./setup mobile" + echo "To pair mobile: nix run 'git+' -- mobile" echo "To sync: ./scripts/usync" } @@ -426,7 +426,7 @@ setup_mobile() { echo "" ok "Pairing complete! Devices should connect shortly." else - warn "No ID entered. Run './setup mobile' to try again." + warn "No ID entered. Run 'mobile' option again to retry." fi }