#!/bin/sh # jobfishing installer. It does three things and nothing else: # 1. installs uv (https://docs.astral.sh/uv/) if it is missing, using uv's official installer # 2. fetches the jobfishing package with uv # 3. registers jobfishing with Claude Code and/or Codex if they are on this machine, and copies the skills # Undo it any time with: uvx --from "https://github.com/leoqingyu/jobfishing-ai/archive/refs/heads/main.zip#subdirectory=plugins/jobfishing" jobfishing uninstall set -eu SPEC="https://github.com/leoqingyu/jobfishing-ai/archive/refs/heads/main.zip#subdirectory=plugins/jobfishing" if ! command -v uv >/dev/null 2>&1; then echo "Installing uv (it brings its own Python, so you do not need one)..." curl -LsSf https://astral.sh/uv/install.sh | sh fi PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH" export PATH exec uvx --from "$SPEC" jobfishing install