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 }