summaryrefslogtreecommitdiff
path: root/userland/minibox/minibox.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-17 23:58:14 +0100
committerAnton Kling <anton@kling.gg>2023-11-17 23:58:14 +0100
commit01a9392ad6051878e217bffeffd6261ccf994c42 (patch)
tree17bb2d06531c32e17396ff6978983e133b79c6df /userland/minibox/minibox.c
parent0c9282bb61b0d7c463045139655b3f1f1ec5422b (diff)
Minibox: Add a somewhat improved shell
This shell actually lexes and produces a AST which makes it easier to add features and will makes it more difficult to introduce bugs. So basically it is just better code.
Diffstat (limited to 'userland/minibox/minibox.c')
-rw-r--r--userland/minibox/minibox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/minibox/minibox.c b/userland/minibox/minibox.c
index 63eaee8..f3950df 100644
--- a/userland/minibox/minibox.c
+++ b/userland/minibox/minibox.c
@@ -22,7 +22,7 @@ typedef struct Command {
Command utilities[] = {COMMAND(minibox), COMMAND(ascii), COMMAND(echo),
COMMAND(cat), COMMAND(yes), COMMAND(wc),
COMMAND(init), COMMAND(ls), COMMAND(touch),
- COMMAND(ed)};
+ COMMAND(ed), COMMAND(sh)};
char *parse_filename(char *str) {
char *tmp = NULL, *is = str;