From 236a617bbfe2b61b781436bb47267cfac17a4aad Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Fri, 8 May 2026 22:04:54 -0500 Subject: removed numbers in enum --- README.md | 4 ++++ src/main.h | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bba5b3f..61a1bb1 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,7 @@ Going to try and make it mostly POSIX compliant. - [ ] Env="something" ... executable args - [ ] rcfile - [ ] rcfile in config dir + +## testing + +- [ ] use shellcheck-bin diff --git a/src/main.h b/src/main.h index 09b1585..f51ac3b 100644 --- a/src/main.h +++ b/src/main.h @@ -7,12 +7,12 @@ typedef struct{ } SHELL_OB; typedef enum{ - Stdout=0, - Redirect=1, - Append=2, - Pipe=3, - Continue=4, - If=5, + Stdout, + Redirect, + Append, + Pipe, + Continue, + If, } cmd_t; typedef struct CMD{ -- cgit v1.3