发布

  • fix: use absolute binary path in shell hooks and aliases (v2.1.2)
    Release / Build aarch64-apple-darwin (push) Has been cancelled
    Release / Build x86_64-apple-darwin (push) Has been cancelled
    Release / Build aarch64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-pc-windows-msvc (push) Has been cancelled
    Release / Create Release (push) Has been cancelled

    frostbyte_neo 发布于 2026-03-26 08:09:14 +00:00

    Fixes exit code 126 when lean-ctx is not in PATH. All shell aliases
    (bash/zsh/fish) and editor hook scripts (Claude, Cursor, Gemini) now
    embed the full binary path from std::env::current_exe().

    Windows paths (C:\Users...) are auto-converted to Git Bash format
    (/c/Users/...) in bash scripts, fixing the '/C: Is a directory' error.

    Adds to_bash_compatible_path() helper with 6 unit tests.

    Existing users: re-run 'lean-ctx init --global' after updating.

    下载附件