moturus/motor-os

Improve rush (the shell in Motor OS)

Open

#33 opened on Oct 24, 2025

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Rust (34 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (1,087 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide