diff options
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 8 |
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]; |
