Skip to content

duplicate cd handling, kernel and cli.py both implement cd #45

Closed

Description

@AkshajSinghal

The cd command is implemented twice with different logic. _handle_cd_command in cli.py does not expand environment variables (os.path.expandvars is absent), while the kernel's _handle_cd does. The cli.py version is wired into the pre-kernel REPL flow; commands that reach cli.py will silently fail to expand $HOME or other env-var paths.

Activity

  1. added
    bug
    good first issue
    on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions