Commit Graph

28 Commits

Author SHA1 Message Date
Chris Cromer 5225d05708 remove non contributor 2021-07-20 20:02:06 -04:00
Chris Cromer 5070706b3d use an enumeration to be easy to read 2021-07-20 19:55:56 -04:00
Chris Cromer b2327ff334 use full definition for the struct 2021-07-20 19:43:29 -04:00
Chris Cromer 8fbc0f9587 refactor redirect 2021-07-20 19:24:22 -04:00
Chris Cromer ad5116fd27 add redirection of stdout 2021-07-20 15:30:22 -04:00
Chris Cromer f867a46565 refactor utils 2021-07-17 17:36:38 -04:00
Chris Cromer b1dc92ba92 add check to free 2021-07-17 16:58:38 -04:00
Chris Cromer 13d46e8c60 fix memory leak 2021-07-17 16:54:00 -04:00
Chris Cromer 66dcc66fd9 move comments to headers 2021-07-16 23:37:15 -04:00
Chris Cromer 9c5752e9a9 add environment variables 2021-07-16 22:52:26 -04:00
Chris Cromer 1cbe850a10 fix memory leak when user doesn't enter anything 2021-07-16 13:36:25 -04:00
Chris Cromer e548acdb8a change the way string arrays are initialized 2021-07-16 13:35:29 -04:00
Chris Cromer 2d6303e311 check for failure on realloc 2021-07-07 00:00:31 -04:00
Chris Cromer cc153bd481 add memory cleanup at exit 2021-07-06 23:47:19 -04:00
Chris Cromer 5506e06840 add basic launch functionality 2021-06-27 22:46:03 -04:00
Chris Cromer 8776bbd6fa add hostname 2021-06-26 23:05:27 -04:00
Chris Cromer 60004f08dc rename string array variable to make it clear what it is 2021-06-26 22:51:39 -04:00
Chris Cromer 907af65b94 move input to separate file 2021-06-26 22:38:22 -04:00
Chris Cromer 5ce2096b2c add builtins 2021-06-26 19:06:30 -04:00
Chris Cromer 838ee3d216 add comments 2021-06-19 23:10:20 -04:00
Chris Cromer a7cf487631 refactor the console line code 2021-06-19 22:58:57 -04:00
Chris Cromer 7c277d99bd get current working directory for the console line 2021-06-19 20:52:42 -04:00
Chris Cromer 21448cee37 free line on error in loop 2021-06-19 20:32:26 -04:00
Chris Cromer b5e4de3f82 free up the line pointer after we are finished 2021-06-19 20:30:08 -04:00
Chris Cromer e717917e95 don't exit on success, let cleanup happen 2021-06-19 20:28:53 -04:00
Chris Cromer cf847bf5eb add copyright to source files 2021-06-19 20:25:27 -04:00
Chris Cromer 93ace63885 add user name printing and newline stripping 2021-06-19 20:05:20 -04:00
Chris Cromer cc74038008 create the shell loop 2021-06-19 19:13:53 -04:00