发布

  • fix: shell init auto-replaces old aliases + version bump to v2.1.3
    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:48:58 +00:00

    Running lean-ctx init --global on a system with existing (broken)
    aliases would print "already configured" and exit without updating.

    Now init_posix, init_fish, and init_powershell detect the old block,
    remove it, and write fresh aliases with the correct absolute binary
    path. No manual .bashrc editing needed.

    Adds remove_lean_ctx_block() and remove_lean_ctx_block_ps() helpers
    with 4 unit tests. All 82 tests pass.

    下载附件