aboutsummaryrefslogtreecommitdiff
path: root/src/command/builtin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/builtin.cc')
-rw-r--r--src/command/builtin.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/builtin.cc b/src/command/builtin.cc
index b2c3149..3e87850 100644
--- a/src/command/builtin.cc
+++ b/src/command/builtin.cc
@@ -15,6 +15,10 @@ bool exe_bultin_command(char **argv)
{
if (argv == nullptr || argv[0] == nullptr) exit(1); // WTF???
if (strcmp(argv[0], "quit") == 0) { ov4::command::quit(); return true; }
+ if (strcmp(argv[0], "exit") == 0) { ov4::command::exit(); return true; }
+ if (strcmp(argv[0], "jobs") == 0) { ov4::command::jobs(); return true; }
+ if (strcmp(argv[0], "bg") == 0) { ov4::command::bg(argv); return true; }
+ if (strcmp(argv[0], "fg") == 0) { ov4::command::fg(argv); return true; }
else return false;
}