aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-05-08 22:04:54 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-05-08 22:04:54 -0500
commit236a617bbfe2b61b781436bb47267cfac17a4aad (patch)
tree709debbb7090d08d22fe864c902288951faa1b7e
parent6d6027b5d3c35b474d5867007f2884d9b240ac5b (diff)
removed numbers in enumHEADmain
-rw-r--r--README.md4
-rw-r--r--src/main.h12
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{