Skip to content

Improve rush (the shell in Motor OS) #33

@lasiotus

Description

@lasiotus

Motor OS has a small unixy shell rush that is incomplete and buggy. It's code is also poorly designed and need to be refactored and cleaned up.

There are several specific issues that need addressing:

  • prepended env vars don't work if they contain underscores, i.e. FOO=bar printenv works, but FOO_1=bar printenv does not;
  • piping, as in cmd1 | cmd2, doesn't work;
  • tabbing support, as in ls foo/, could be useful.

I think using shlex crate, or similar, is warranted. Maybe also glob.

Note: rush shell can be compiled and run on Linux, no need to cross-compile it for Motor OS during development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions