Skip to content

chore(specs): document alias/unalias support and remove stale status #565

@chaliy

Description

@chaliy

Problem

alias and unalias are implemented in the interpreter and covered by spec tests, but public docs/specs still imply alias support is missing. That makes feature discovery and roadmap discussion inaccurate.

Evidence

  • crates/bashkit/src/interpreter/mod.rs implements execute_alias_builtin() and execute_unalias_builtin()
  • crates/bashkit/tests/spec_cases/bash/alias.test.sh exists
  • specs/009-implementation-status.md still lists alias under "Not Yet Implemented"
  • specs/005-builtins.md does not list alias/unalias among supported builtins

Scope

  • Update builtin reference to include alias and unalias
  • Remove alias from stale "Not Yet Implemented" status
  • Clarify current behavior: gated by shopt -s expand_aliases, parser-time first-word expansion, trailing-space chaining, recursion guard
  • Add cross-links from compatibility/docs if needed

Why

If Bashkit already supports aliases, docs should say so. If behavior is intentionally partial, document the exact limits instead of advertising the feature as missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions