hoosierhobbyist / quantum-shell

An experimental terminal emulator for the Atom text editor
MIT License
19 stars 6 forks source link

Shell Builtins #1

Open hoosierhobbyist opened 9 years ago

hoosierhobbyist commented 9 years ago

Any interactive shell is going to have a few builtin commands that have to be implemented. This issue is to track what those commands are, and what their status is in quantum-shell. The aim here is to be as bash-like as possible, since that's what most people will be used to. As a reference I'm using https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html#Shell-Builtin-Commands

Bourne Shell builtins

I am currently working on implementations for cd, pwd, echo, history, alias, and unalias as I believe these to be the most commanly used and essential to any proper shell. Beyond that, however, I'm not really sure what most of these even do, or how they're meant to be used. Any and all help implementing these features is highly encouraged and appreciated! If you do decide to help out, please keep in mind that these features should behave exactly the same across all operating system (Windows, OS X, and Linux).