@@ -200,56 +200,3 @@ for cmd in lune tuios crush lx; do
eval "$("$cmd" completion bash 2>/dev/null || true)"
fi
done
--# ============================================================================-# SSH Agent Management-# ============================================================================--if [[ -z "${SSH_AUTH_SOCK:-}" ]]; then- export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"-fi--if ! ssh-add -l &>/dev/null; then- eval "$(ssh-agent -a "$SSH_AUTH_SOCK" 2>/dev/null)" > /dev/null- echo "Spawned new ssh-agent. PID: $SSH_AGENT_PID"-fi--{{ if eq .chezmoi.username "exedev" }}-# ============================================================================-# exe.dev Hints (only for exedev user)-# ============================================================================--_exe_url() {- local fqdn prefix suffix- fqdn=$(hostname -f 2>/dev/null || hostname)- if [[ "$fqdn" == *.* ]]; then- prefix=${fqdn%%.*}- suffix=${fqdn#*.}- echo "https://${prefix}.${1}.${suffix}/"- else- echo "https://${fqdn}.${1}.exe.xyz/"- fi-}--_exe_hints=(- $'Read exe.dev docs at https://exe.dev/docs'- "Shelley, our coding agent, is running at $(_exe_url shelley)"- $'Docker is installed and works; try "docker run --rm alpine:latest echo hello world"'- "If you run an http webserver on port 4444, you can access it securely at https://$(hostname -f 2>/dev/null || hostname):4444"- $'ssh into exe.dev to manage the HTTP proxy and sharing for this VM'- "There is a web-based terminal at $(_exe_url xterm)"-)-unset -f _exe_url--_exe_hint_index=$((RANDOM % ${#_exe_hints[@]}))--echo ""-echo "You are on $(hostname -f 2>/dev/null || hostname). The disk is persistent. You have 'sudo'."-echo ""-echo 'For support and documentation, "ssh exe.dev" or visit https://exe.dev/'-echo ""-printf '%s\n' "${_exe_hints[$_exe_hint_index]}"-echo ""--unset _exe_hints _exe_hint_index-{{ end }}