- Resolve config.sh relative to the real script path (works via symlink). - Don't silently swallow errors from config.sh. - Default DEVC_REGISTRY to git.plabble.org/job79. - Add -no-pull to start without contacting the registry. - Host wrappers explain how to enable host-spawn instead of failing obscurely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
286 B
Bash
Executable File
8 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/bus"
|
|
[[ -S /tmp/bus ]] || { echo "host-spawn unavailable: restart with 'devc -host-spawn'" >&2; exit 1; }
|
|
|
|
cmd="${0##*/}"
|
|
[[ "$cmd" == "host" ]] && unset cmd
|
|
exec host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" ${cmd:+"$cmd"} "$@"
|