aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-08-31 08:23:26 +0000
committer_ov4 <ov4@ov4.org>2026-08-31 08:23:26 +0000
commit097165066c0f83c57e4f4cce02225c601deb2f02 (patch)
tree9f3b007eaf136a69b83a2bd7c716b5b5f2c46814 /src/main.cc
parent0e460c391c093f1eb074d3192c60d37fa425d48d (diff)
path
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 5a2bd71..1042cf8 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -22,6 +22,7 @@
#include "handler.h"
#include "ground.h"
#include "eval.h"
+#include "path.h"
using namespace std;
using namespace ov4;
@@ -47,13 +48,18 @@ handler_t *Signal(int signum, handler_t *handler);
// built-in commands
void builtin_command_quit();
-
+void test()
+{
+ cout << find_cmd("ls") << endl;
+ exit(0);
+}
/*
* main - The shell's main routine
*/
int main(int argc, char **argv)
{
+ //test();
init();
char c;
char cmdline[MAXLINE];